Home
last modified time | relevance | path

Searched refs:ifg (Results 1 – 6 of 6) sorted by relevance

/netbsd/sys/dist/pf/net/
H A Dif_compat.c132 strlcpy(ifg->ifg_group, groupname, sizeof(ifg->ifg_group)); in if_creategroup()
133 ifg->ifg_refcnt = 0; in if_creategroup()
137 pfi_attach_ifgroup(ifg); in if_creategroup()
141 return (ifg); in if_creategroup()
177 if (ifg == NULL && (ifg = if_creategroup(groupname)) == NULL) { in if_addgroup()
183 ifg->ifg_refcnt++; in if_addgroup()
184 ifgl->ifgl_group = ifg; in if_addgroup()
285 struct ifg_group *ifg;
293 if (ifg == NULL)
342 struct ifg_group *ifg;
[all …]
H A Dpf_if.c335 pfi_attach_ifgroup(struct ifg_group *ifg) in pfi_attach_ifgroup() argument
343 if ((kif = pfi_kif_get(ifg->ifg_group)) == NULL) in pfi_attach_ifgroup()
346 kif->pfik_group = ifg; in pfi_attach_ifgroup()
347 ifg->ifg_pf_kif = kif; in pfi_attach_ifgroup()
353 pfi_detach_ifgroup(struct ifg_group *ifg) in pfi_detach_ifgroup() argument
358 if ((kif = (struct pfi_kif *)ifg->ifg_pf_kif) == NULL) in pfi_detach_ifgroup()
365 ifg->ifg_pf_kif = NULL; in pfi_detach_ifgroup()
/netbsd/external/bsd/dhcpcd/dist/src/
H A Dif-bsd.c321 struct ifg_req *ifg; in if_ignoregroup() local
337 for (ifg = ifgr.ifgr_groups, ifg_len = ifgr.ifgr_len; in if_ignoregroup()
338 ifg && ifg_len >= sizeof(*ifg); in if_ignoregroup()
339 ifg++, ifg_len -= sizeof(*ifg)) in if_ignoregroup()
341 if (if_ignore1(ifg->ifgrq_group)) in if_ignoregroup()
/netbsd/sys/dev/usb/
H A Dif_axenreg.h229 uint8_t ifg; member
H A Dif_axen.c430 qctrl.ifg = 0x08; in axen_ax88179_init()
438 qctrl.ifg = 0xff; in axen_ax88179_init()
446 qctrl.ifg = 0xff; in axen_ax88179_init()
/netbsd/dist/pf/sbin/pfctl/
H A Dpfctl_parser.c1268 struct ifg_req *ifg; in ifa_grouplookup()
1288 for (ifg = ifgr.ifgr_groups; ifg && len >= sizeof(struct ifg_req); in ifa_grouplookup()
1289 ifg++) { in ifa_grouplookup()
1291 if ((n = ifa_lookup(ifg->ifgrq_member, flags)) == NULL) in ifa_grouplookup()