Searched defs:ifnet (Results 1 - 8 of 8) sorted by relevance

/freebsd-head/tools/tools/ifpifa/
H A Difpifa.c85 struct ifnet ifnet; local
123 if (kread(kd, ifnetaddr, (char *) &ifnet, sizeof(ifnet)) != 0)
125 ifnetaddr_next = (u_long) TAILQ_NEXT(&ifnet, if_link);
127 printf("%s\n", ifnet.if_xname);
129 for (ifaddraddr = (u_long) TAILQ_FIRST(&ifnet.if_addrhead);
/freebsd-head/sbin/routed/
H A Dif.c48 struct ifhead ifnet = LIST_HEAD_INITIALIZER(ifnet); /* all interfaces */ variable in typeref:struct:ifhead
111 LIST_INSERT_HEAD(&ifnet, ifp, int_list);
218 LIST_FOREACH(ifp, &ifnet, int_list) {
246 LIST_FOREACH(ifp, &ifnet, int_list) {
323 LIST_FOREACH(ifp, &ifnet, int_list) {
395 LIST_FOREACH(ifp, &ifnet, int_list) {
478 LIST_FOREACH(ifp1, &ifnet, int_list) {
564 LIST_FOREACH(ifp1, &ifnet, int_list) {
600 LIST_FOREACH(ifp1, &ifnet, int_lis
[all...]
/freebsd-head/usr.sbin/ifmcstat/
H A Difmcstat.c334 struct ifnet *ifp, *nifp, ifnet; local
349 KREAD(nl[N_IFNET].n_value, &ifp, struct ifnet *);
351 KREAD(ifp, &ifnet, struct ifnet);
352 nifp = ifnet.if_link.tqe_next;
353 if (ifindex && ifindex != ifnet.if_index)
356 printf("%s:\n", if_indextoname(ifnet.if_index, ifname));
358 if_addrlist(TAILQ_FIRST(&ifnet.if_addrhead));
361 if6_addrlist(TAILQ_FIRST(&ifnet
413 struct ifnet ifnet; local
445 struct ifnet ifnet; local
483 struct ifnet ifnet; local
532 struct ifnet ifnet; local
[all...]
/freebsd-head/contrib/libpcap/
H A Dpcap-dlpi.c1795 { "ifnet" },
1809 struct ifnet ifnet; local
1810 char if_name[sizeof(ifnet.if_name) + 1];
1837 for (; addr != NULL; addr = ifnet.if_next) {
1839 &ifnet, sizeof(ifnet), ebuf) < 0 ||
1840 dlpi_kread(kd, (off_t)ifnet.if_name,
1841 if_name, sizeof(ifnet.if_name), ebuf) < 0) {
1845 if_name[sizeof(ifnet
[all...]
/freebsd-head/sys/dev/sfxge/
H A Dsfxge.h274 struct ifnet *ifnet; member in struct:sfxge_softc
342 #define SFXGE_RUNNING(sc) ((sc)->ifnet->if_drv_flags & IFF_DRV_RUNNING)
408 extern uint64_t sfxge_get_counter(struct ifnet *ifp, ift_counter c);
/freebsd-head/sys/dev/xen/netback/
H A Dnetback.c150 static int xnb_ifmedia_upd(struct ifnet *ifp);
151 static void xnb_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr);
156 struct mbuf **mbufc, struct ifnet *ifnet,
163 static struct mbuf *xnb_pkt2mbufc(const struct xnb_pkt *pkt, struct ifnet *ifp);
183 static int xnb_ioctl(struct ifnet*, u_long, caddr_t);
184 static void xnb_start_locked(struct ifnet*);
185 static void xnb_start(struct ifnet*);
401 struct ifnet *xnb_ifp;
1185 struct ifnet *if
1812 xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend, struct mbuf **mbufc, struct ifnet *ifnet, gnttab_copy_table gnttab) argument
[all...]
/freebsd-head/sys/net/
H A Dif_var.h94 CK_STAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
129 typedef struct ifnet * if_t;
267 typedef int (if_snd_tag_alloc_t)(struct ifnet *, union if_snd_tag_alloc_params *,
272 typedef void (if_ratelimit_query_t)(struct ifnet *,
274 typedef int (if_ratelimit_setup_t)(struct ifnet *, uint64_t, uint32_t);
279 struct ifnet { struct
281 CK_STAILQ_ENTRY(ifnet) if_link; /* all struct ifnets are chained (CK_) */
282 LIST_ENTRY(ifnet) if_clones; /* interfaces of a cloner */
348 struct vnet *if_home_vnet; /* where this ifnet originates from */
361 (struct ifnet *, struc
[all...]
/freebsd-head/sys/contrib/ipfilter/netinet/
H A Dip_compat.h200 * Userland emulation of struct ifnet.
204 struct ifnet { struct
207 int (*if_output)(struct ifnet *, struct mbuf *,
213 # define IFNAME(x) ((struct ifnet *)x)->if_xname
216 ((struct ifnet *)x)->if_xname, \
520 # define GETIFMTU_4(x) ((struct ifnet *)x)->if_mtu
521 # define GETIFMTU_6(x) ((struct ifnet *)x)->if_mtu
597 # define IFNAME(x) get_ifname((struct ifnet *)x)
601 extern char *ipf_getifname __P((struct ifnet *, char *));
603 ipf_getifname((struct ifnet *)
[all...]

Completed in 104 milliseconds