| /src/usr.sbin/npf/npftest/ |
| npftest.h | 42 ifnet_t * rumpns_npf_test_addif(const char *, bool, bool); 43 ifnet_t * rumpns_npf_test_getif(const char *); 46 ifnet_t *, bool, int64_t *); 61 int process_stream(const char *, const char *, ifnet_t *);
|
| npfstream.c | 38 process_tcpip(const void *data, size_t len, FILE *fp, ifnet_t *ifp) 93 process_stream(const char *input, const char *output, ifnet_t *ifp)
|
| npftest.c | 200 ifnet_t *ifp = NULL;
|
| /src/sys/net/ |
| if_stats.h | 66 if_statinc(ifnet_t *ifp, if_stat_t x) 73 if_statinc_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x) 80 if_statdec(ifnet_t *ifp, if_stat_t x) 87 if_statdec_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x) 94 if_statadd(ifnet_t *ifp, if_stat_t x, uint64_t v) 101 if_statadd_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x, uint64_t v) 108 if_statadd2(ifnet_t *ifp, if_stat_t x1, uint64_t v1, if_stat_t x2, uint64_t v2) 119 if_statsub(ifnet_t *ifp, if_stat_t x, uint64_t v) 126 if_statsub_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x, uint64_t v) 132 void if_stats_init(ifnet_t *); [all...] |
| if_stats.c | 56 if_stats_init(ifnet_t * const ifp) 66 if_stats_fini(ifnet_t * const ifp) 116 if_stats_to_if_data(ifnet_t * const ifp, struct if_data * const ifi,
|
| if.h | 439 } ifnet_t; typedef in typeref:struct:ifnet 1144 int if_addr_init(ifnet_t *, struct ifaddr *, bool); 1146 int if_mcast_op(ifnet_t *, const unsigned long, const struct sockaddr *); 1156 ifnet_t *if_byindex(u_int); 1157 ifnet_t *_if_byindex(u_int); 1158 ifnet_t *if_get_byindex(u_int, struct psref *); 1159 ifnet_t *if_get_bylla(const void *, unsigned char, struct psref *);
|
| if.c | 189 static ifnet_t ** ifindex2ifnet = NULL; 367 ifnet_t * 371 return kmem_zalloc(sizeof(ifnet_t), KM_SLEEP); 375 if_free(ifnet_t *ifp) 378 kmem_free(ifp, sizeof(ifnet_t)); 642 if_getindex(ifnet_t *ifp) 720 if_initialize(ifnet_t *ifp) 775 if_register(ifnet_t *ifp) 1153 if_attach(ifnet_t *ifp) 2986 ifnet_t * [all...] |
| /src/usr.sbin/npf/npftest/libnpftest/ |
| npf_test_subr.c | 46 static const char * npftest_ifop_getname(npf_t *, ifnet_t *); 47 static ifnet_t * npftest_ifop_lookup(npf_t *, const char *); 49 static void * npftest_ifop_getmeta(npf_t *, const ifnet_t *); 50 static void npftest_ifop_setmeta(npf_t *, ifnet_t *, void *); 113 ifnet_t * 117 ifnet_t *ifp = kmem_zalloc(sizeof(*ifp), KM_SLEEP); 138 ifnet_t * 141 ifnet_t *ifp; 176 npftest_ifop_getname(npf_t *npf __unused, ifnet_t *ifp) 181 static ifnet_t * [all...] |
| npf_test.h | 99 ifnet_t * npf_test_addif(const char *, bool, bool); 100 ifnet_t * npf_test_getif(const char *); 102 int npf_test_statetrack(const void *, size_t, ifnet_t *,
|
| npfl2onlytest.c | 54 ifnet_t *ifp = npf_test_getif(t->ifname);
|
| npf_perf_test.c | 31 ifnet_t *ifp = npf_test_getif(IFNAME_INT);
|
| npf_nat_test.c | 164 checkresult(bool verbose, unsigned i, struct mbuf *m, ifnet_t *ifp, int error) 225 ifnet_t *ifp = npf_test_getif(t->ifname);
|
| npf_nbuf_test.c | 33 ifnet_t *dummy_ifp = npf_test_addif(IFNAME_TEST, false, false);
|
| npf_l2rule_test.c | 102 ifnet_t *ifp = npf_test_getif(t->ifname);
|
| npf_rid_test.c | 148 ifnet_t *ifp = npf_test_getif(t->ifname);
|
| /src/sys/net/npf/ |
| if_npflog.c | 61 ifnet_t sc_if; 66 static int npflog_clone_destroy(ifnet_t *); 92 npflog_ioctl(ifnet_t *ifp, u_long cmd, void *data) 114 ifnet_t *ifp; 138 npflog_clone_destroy(ifnet_t *ifp)
|
| npf_ifaddr.c | 50 lookup_ifnet_table(npf_t *npf, ifnet_t *ifp) 109 npf_ifaddr_sync(npf_t *npf, ifnet_t *ifp) 154 npf_ifaddr_flush(npf_t *npf, ifnet_t *ifp) 171 ifnet_t *ifp;
|
| npf_os.c | 113 static const char * npf_ifop_getname(npf_t *, ifnet_t *); 114 static ifnet_t * npf_ifop_lookup(npf_t *, const char *); 116 static void * npf_ifop_getmeta(npf_t *, const ifnet_t *); 117 static void npf_ifop_setmeta(npf_t *, ifnet_t *, void *); 348 npf_ifop_getname(npf_t *npf __unused, ifnet_t *ifp) 353 static ifnet_t * 362 ifnet_t *ifp; 374 npf_ifop_getmeta(npf_t *npf __unused, const ifnet_t *ifp) 380 npf_ifop_setmeta(npf_t *npf __unused, ifnet_t *ifp, void *arg) 391 npfos_packet_handler(void *arg, struct mbuf **mp, ifnet_t *ifp, int di [all...] |
| npf_if.c | 128 ifnet_t *ifp; 188 npf_ifmap_getid(npf_t *npf, const ifnet_t *ifp) 226 npfk_ifmap_attach(npf_t *npf, ifnet_t *ifp) 238 npfk_ifmap_detach(npf_t *npf, ifnet_t *ifp)
|
| npf_impl.h | 176 const ifnet_t * nb_ifp; 333 u_int npf_ifmap_getid(npf_t *, const ifnet_t *); 337 void npf_ifaddr_sync(npf_t *, ifnet_t *); 338 void npf_ifaddr_flush(npf_t *, ifnet_t *);
|
| npf_handler.c | 144 npfk_packet_handler(npf_t *npf, struct mbuf **mp, ifnet_t *ifp, int di) 347 npfk_layer2_handler(npf_t *npf, struct mbuf **mp, ifnet_t *ifp, int di)
|
| npf_ext_log.c | 88 ifnet_t *ifp;
|
| npf.h | 119 void nbuf_init(npf_t *, nbuf_t *, struct mbuf *, const ifnet_t *);
|
| npf_mbuf.c | 75 nbuf_init(npf_t *npf, nbuf_t *nbuf, struct mbuf *m, const ifnet_t *ifp)
|
| /src/sys/netinet/ |
| igmp.c | 74 ifnet_t * rti_ifp; 134 rti_find(ifnet_t *ifp) 159 rti_delete(ifnet_t *ifp) 187 ifnet_t *ifp; 658 igmp_purgeif(ifnet_t *ifp)
|