Home
last modified time | relevance | path

Searched refs:ifnet (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c150 static struct ifnet **ifneta = NULL;
496 fdp->fd_ifp = (struct ifnet *)-1;
512 struct ifnet *ifp;
531 struct ifnet *ifp;
562 struct ifnet *ifp; in fr_setifpaddr()
608 struct ifnet *get_unit(name, v, ifs) in get_unit()
613 struct ifnet *ifp, **ifpp, **old_ifneta;
719 struct ifnet *ifp; in get_ifname()
736 struct ifnet *ifp, **ifpp; in init_ifp()
772 struct ifnet *ifp = fdp->fd_ifp;
[all …]
H A Dipftest.c18 extern struct ifnet *get_unit __P((char *, int, ipf_stack_t *));
74 struct ifnet *ifp;
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h385 struct ifnet;
393 extern void ether_demux(struct ifnet *, struct mbuf *);
394 extern void ether_ifattach(struct ifnet *, const u_int8_t *);
395 extern void ether_ifdetach(struct ifnet *);
396 extern int ether_ioctl(struct ifnet *, u_long, caddr_t);
397 extern int ether_output(struct ifnet *, struct mbuf *,
399 extern int ether_output_frame(struct ifnet *, struct mbuf *);
/illumos-gate/usr/src/boot/include/netinet/
H A Dif_ether.h117 int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
119 void arprequest(struct ifnet *, const struct in_addr *,
121 void arp_ifinit(struct ifnet *, struct ifaddr *);
122 void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
H A Din.h639 struct ifnet; struct mbuf; /* forward declarations for Standard C */
641 int in_broadcast(struct in_addr, struct ifnet *);
645 int in_ifhasaddr(struct ifnet *, struct in_addr);
651 void in_ifdetach(struct ifnet *);
H A Dip_var.h87 struct ifnet *imo_multicast_ifp; /* ifp for outgoing multicasts */
216 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
H A Din_pcb.h687 void in_pcbpurgeif0(struct inpcbinfo *, struct ifnet *);
713 struct in_addr, u_int, int, struct ifnet *);
716 struct in_addr, u_int, int, struct ifnet *, struct mbuf *);
/illumos-gate/usr/src/uts/common/net/
H A Dif.h62 struct ifnet { struct
91 struct ifnet *if_next; argument
92 struct ifnet *if_upper; /* next layer up */ argument
93 struct ifnet *if_lower; /* next layer down */ argument
222 (m)->m_off += sizeof (struct ifnet *); \
223 (m)->m_len -= sizeof (struct ifnet *); \
237 (ifp) = *(mtod((m), struct ifnet **)); \
268 struct ifnet *ifa_ifp; /* back-pointer to interface */
H A Droute.h110 struct ifnet *rt_ifp; /* the answer: interface to use */
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dgetifname.c22 struct ifnet *ptr; in getifname()
38 struct ifnet netif;
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h790 # define IFNAME(x) ((struct ifnet *)x)->if_xname
793 ((struct ifnet *)x)->if_xname, \
868 # define IFNAME(x) ((struct ifnet *)x)->if_xname
871 ((struct ifnet *)x)->if_xname, \
1014 ((struct ifnet *)x)->if_xname, \
1182 # define ifnet net_device macro
1206 struct ifnet { struct
1212 # define IFNAME(x) ((struct ifnet *)x)->if_xname argument
1218 ((struct ifnet *)x)->if_xname, \
1674 # define IFNAME(x) ((struct ifnet *)x)->if_name
[all …]
H A Dip_fil.h159 struct ifnet;
1363 extern struct ifnet *get_unit __P((char *, int, ipf_stack_t *));
1364 extern char *get_ifname __P((struct ifnet *));
1490 extern char *getifname __P((struct ifnet *));
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h422 extern void bpf_tap(struct ifnet *, u_char *, u_int);
423 extern void bpf_mtap(struct ifnet *, struct mbuf *);
424 extern void bpfattach(struct ifnet *, u_int, u_int);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c39 struct interface *ifnet; variable
100 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) in initifs()
335 ifp->int_next = ifnet; in initifs()
336 ifnet = ifp; in initifs()
347 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in initifs()
H A Dif.c48 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in if_ifwithname()
89 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in if_dump2()
H A Doutput.c52 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in supplyall()
91 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in solicitall()
H A Ddefs.h130 extern struct interface *ifnet;
H A Dmain.c281 for (ifp = ifnet; ifp != NULL; in main()
/illumos-gate/usr/src/boot/include/netinet6/
H A Din6.h655 int in6_ifhasaddr(struct ifnet *, struct in6_addr *);
658 struct in6_ifaddr *in6_ifawithifp(struct ifnet *, struct in6_addr *);
659 extern void in6_if_up(struct ifnet *);
/illumos-gate/usr/src/uts/common/netinet/
H A Dif_ether.h78 struct ifnet ac_if; /* network-visible interface */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c50 struct interface *ifnet; variable
316 link_in((void **)&ifnet, ifp, offsetof(struct interface, int_link)); in if_link()
545 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in iflookup()
600 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in ripv1_mask_net()
697 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in check_dup()
1056 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) in ifscan()
1556 for (ifp1 = ifnet; ifp1 != NULL; in ifscan()
1670 for (ifp = ifnet; ifp != NULL; ifp = ifp1) { in ifscan()
1696 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in ifscan()
H A Dmain.c769 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rip_off()
871 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rip_on()
H A Drdisc.c334 for (ifp = ifnet; ifp; ifp = ifp->int_next) { in set_supplier()
1136 for (ifp = ifnet; ifp; ifp = ifp->int_next) { in rdisc_adv()
1180 for (ifp = ifnet; ifp; ifp = ifp->int_next) { in rdisc_sol()
H A Doutput.c929 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rip_bcast()
994 for (ifp = ifnet; ifp; ifp = ifp->int_next) { in rip_query()
H A Dtable.c2585 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rtbad_sub()
2602 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in rtbad_sub()
2814 for (ifp = ifnet; ifp; ifp = ifp->int_next) { in age()
2884 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) { in gwkludge_iflookup()

12