Searched refs:kif (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dpf_if.c146 struct pfi_kif *kif; local
151 if ((kif = RB_FIND(pfi_ifhead, &pfi_ifs,
153 return (kif);
156 if ((kif = _MALLOC(sizeof (*kif), PFI_MTYPE, M_WAITOK|M_ZERO)) == NULL)
159 strlcpy(kif->pfik_name, kif_name, sizeof (kif->pfik_name));
160 kif->pfik_tzero = pf_calendar_time_second();
161 TAILQ_INIT(&kif->pfik_dynaddrs);
163 RB_INSERT(pfi_ifhead, &pfi_ifs, kif);
168 pfi_kif_ref(struct pfi_kif *kif, enum pfi_kif_refs what) argument
183 pfi_kif_unref(struct pfi_kif *kif, enum pfi_kif_refs what) argument
232 struct pfi_kif *kif; local
257 struct pfi_kif *kif; local
382 pfi_kif_update(struct pfi_kif *kif) argument
396 struct pfi_kif *kif; local
414 pfi_table_update(struct pfr_ktable *kt, struct pfi_kif *kif, int net, int flags) argument
582 struct pfi_kif *kif = (struct pfi_kif *)v; local
[all...]
H A Dpf.c376 pf_state_lookup_aux(struct pf_state **state, struct pfi_kif *kif, argument
389 (*state)->rt_kif != NULL && (*state)->rt_kif != kif) {
400 *state = pf_find_state(kif, &key, direction); \
405 if (pf_state_lookup_aux(state, kif, direction, &action)) \
1110 pf_find_state(struct pfi_kif *kif, struct pf_state_key_cmp *key, u_int dir) argument
1133 if (s->kif == pfi_all || s->kif == kif)
1368 pf_stateins_err(const char *tree, struct pf_state *s, struct pfi_kif *kif) argument
1373 printf("pf: state insert failed: %s %s ", tree, kif
1407 pf_insert_state(struct pfi_kif *kif, struct pf_state *s) argument
3168 pf_get_sport(struct pf_pdesc *pd, struct pfi_kif *kif, struct pf_rule *r, struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr, union pf_state_xport *dxport, struct pf_addr *naddr, union pf_state_xport *nxport, struct pf_src_node **sn) argument
3336 pf_match_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr, union pf_state_xport *dxport, int rs_num) argument
3433 pf_get_translation_aux(struct pf_pdesc *pd, struct mbuf *m, int off, int direction, struct pfi_kif *kif, struct pf_src_node **sn, struct pf_addr *saddr, union pf_state_xport *sxport, struct pf_addr *daddr, union pf_state_xport *dxport, struct pf_addr *naddr, union pf_state_xport *nxport) argument
4003 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, struct ifqueue *ifq) argument
5090 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, struct mbuf **m0, struct pf_pdesc *pd, struct ip_fw_args *fwa) argument
5350 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, struct mbuf *m, void *h, struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm) argument
5445 pf_pptp_handler(struct pf_state *s, int direction, int off, struct pf_pdesc *pd, struct pfi_kif *kif) argument
5790 pf_test_state_tcp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument
6314 pf_test_state_udp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument
6458 pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument
7125 pf_test_state_grev1(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument
7226 pf_test_state_esp(struct pf_state **state, int direction, struct pfi_kif *kif, int off, struct pf_pdesc *pd) argument
7384 pf_test_state_other(struct pf_state **state, int direction, struct pfi_kif *kif, struct pf_pdesc *pd) argument
7522 pf_routable(struct pf_addr *addr, sa_family_t af, struct pfi_kif *kif) argument
8052 struct pfi_kif *kif; local
8586 struct pfi_kif *kif; local
[all...]
H A Dif_pflog.c286 pflog_packet(struct pfi_kif *kif, struct mbuf *m, sa_family_t af, u_int8_t dir, argument
296 if (kif == NULL || m == NULL || rm == NULL || pd == NULL)
309 memcpy(hdr.ifname, kif->pfik_name, sizeof (hdr.ifname));
H A Dpf_norm.c1526 pf_normalize_ip(struct mbuf **m0, int dir, struct pfi_kif *kif, u_short *reason, argument
1546 if (pfi_kif_match(r->kif, kif) == r->ifnot)
1556 r->src.neg, kif))
1764 PFLOG_PACKET(kif, h, m, AF_INET, dir, *reason, r,
1771 PFLOG_PACKET(kif, h, m, AF_INET, dir, *reason, r,
1784 PFLOG_PACKET(kif, h, m, AF_INET, dir, *reason, r, NULL, NULL, pd);
1791 pf_normalize_ip6(struct mbuf **m0, int dir, struct pfi_kif *kif, argument
1821 if (pfi_kif_match(r->kif, kif)
2085 pf_normalize_tcp(int dir, struct pfi_kif *kif, struct mbuf *m, int ipoff, int off, void *h, struct pf_pdesc *pd) argument
2728 pf_normalize_tcpopt(struct pf_rule *r, int dir, struct pfi_kif *kif, struct pf_pdesc *pd, struct mbuf *m, struct tcphdr *th, int off, int *rewrptr) argument
[all...]
H A Dpf_ioctl.c751 pfi_kif_unref(empty_pool_pa->kif, PFI_KIF_REF_RULE);
799 pfi_kif_unref(rule->kif, PFI_KIF_REF_RULE);
1366 dst->kif = NULL;
1388 dst->kif = NULL;
1422 strlcpy(sp->ifname, s->kif->pfik_name, sizeof (sp->ifname));
1499 dst->kif = NULL;
1509 dst->kif = NULL;
2974 rule->kif = pfi_kif_get(rule->ifname);
2975 if (rule->kif == NULL) {
2979 pfi_kif_ref(rule->kif, PFI_KIF_REF_RUL
3648 struct pfi_kif *kif; local
[all...]
H A Dpfvar.h512 struct pfi_kif *kif __attribute__((aligned(8))); member in struct:pf_pooladdr
514 void *kif __attribute__((aligned(8))); member in struct:pf_pooladdr
703 struct pfi_kif *kif __attribute__((aligned(8))); member in struct:pf_rule
705 void *kif __attribute__((aligned(8))); member in struct:pf_rule
880 struct pfi_kif *kif; member in struct:pf_src_node
882 void *kif; member in struct:pf_src_node
1042 struct pfi_kif *kif; member in struct:pf_state

Completed in 46 milliseconds