Home | History | Annotate | Download | only in netinet

Lines Matching defs:ft

2137 /*              ft(I)  - pointer to structure with comparison data          */
2143 ipf_tcpudpchk(fr_ip_t *fi, frtuc_t *ft)
2153 if (ft->ftu_dcmp)
2154 err = ipf_portcheck(&ft->ftu_dst, fi->fi_ports[1]);
2159 if (err && ft->ftu_scmp)
2160 err = ipf_portcheck(&ft->ftu_src, fi->fi_ports[0]);
2170 return !(ft->ftu_tcpf | ft->ftu_tcpfm);
2174 if (ft->ftu_tcpfm &&
2175 ft->ftu_tcpf != (fi->fi_tcpf & ft->ftu_tcpfm)) {
2177 ft->ftu_tcpfm, ft->ftu_tcpf));
5245 ipfunc_resolve_t *ft;
5251 for (ft = ipf_availfuncs; ft->ipfu_addr != NULL; ft++)
5252 if (ft->ipfu_addr == fr->fr_func) {
5254 if (ft->ipfu_init != NULL)
5255 err = (*ft->ipfu_init)(softc, fr);
5275 ipfunc_resolve_t *ft;
5277 for (ft = ipf_availfuncs; ft->ipfu_addr != NULL; ft++)
5278 if (ft->ipfu_addr == fr->fr_func) {
5279 if (ft->ipfu_fini != NULL)
5280 (void) (*ft->ipfu_fini)(softc, fr);
5296 ipfunc_resolve_t *ft;
5298 for (ft = ipf_availfuncs; ft->ipfu_addr != NULL; ft++)
5299 if (ft->ipfu_addr == funcptr)
5318 ipfunc_resolve_t res, *ft;
5328 for (ft = ipf_availfuncs; ft->ipfu_addr != NULL; ft++)
5329 if (strncmp(res.ipfu_name, ft->ipfu_name,
5331 res.ipfu_addr = ft->ipfu_addr;
5332 res.ipfu_init = ft->ipfu_init;
5341 for (ft = ipf_availfuncs; ft->ipfu_addr != NULL; ft++)
5342 if (ft->ipfu_addr == res.ipfu_addr) {
5343 (void) strncpy(res.ipfu_name, ft->ipfu_name,
5345 res.ipfu_init = ft->ipfu_init;