Home
last modified time | relevance | path

Searched refs:hookid (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netgraph/
H A Dng_macfilter.c349 macfilter_mac_count(macfilter_p mfp, int hookid) in macfilter_mac_count() argument
355 if (mfp->mf_macs[i].hookid == hookid) in macfilter_mac_count()
404 macfilter_mactable_change(macfilter_p mfp, u_char *ether, int hookid) in macfilter_mactable_change() argument
413 (found? mf_macs[i].hookid:NG_MACFILTER_HOOK_DEFAULT_ID), hookid, in macfilter_mactable_change()
417 if (hookid == NG_MACFILTER_HOOK_DEFAULT_ID) { /* drop */ in macfilter_mactable_change()
426 mf_macs[i].hookid = hookid; in macfilter_mactable_change()
429 if (hookid == NG_MACFILTER_HOOK_DEFAULT_ID) { /* not found */ in macfilter_mactable_change()
443 mf_macs[i].hookid = hookid; in macfilter_mactable_change()
455 macfilter_mactable_remove_by_hookid(macfilter_p mfp, int hookid) in macfilter_mactable_remove_by_hookid() argument
460 if (mfp->mf_macs[i].hookid != hookid) { in macfilter_mactable_remove_by_hookid()
[all …]
H A Dng_macfilter.h70 u_int16_t hookid; /* Upper hook hookid */ member
81 u_int16_t hookid; /* Upper hook hookid */ member
110 u_int16_t hookid; /* Upper hook hookid */ member