Searched refs:ifnet (Results 1 - 25 of 35) sorted by relevance

12

/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 */
161 #define IP_SENDTOIF 0x8 /* send on specific ifnet */
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/cmd/ipf/lib/common/
H A Dgetifname.c24 struct ifnet *ptr;
40 struct ifnet netif;
/illumos-gate/usr/src/lib/libbc/inc/include/net/
H A Dif.h45 struct ifnet { struct
74 struct ifnet *if_next;
75 struct ifnet *if_upper; /* next layer up */
76 struct ifnet *if_lower; /* next layer down */
132 (m)->m_off += sizeof (struct ifnet *); \
133 (m)->m_len -= sizeof (struct ifnet *); \
147 (ifp) = *(mtod((m), struct ifnet **)); \
182 struct ifnet *ifa_ifp; /* back-pointer to interface */
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dif.c50 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
91 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
H A Doutput.c52 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
91 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
H A Ddefs.h132 extern struct interface *ifnet;
H A Dstartup.c41 struct interface *ifnet; variable in typeref:struct:interface
102 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next)
337 ifp->int_next = ifnet;
338 ifnet = ifp;
349 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
H A Dmain.c283 for (ifp = ifnet; ifp != NULL;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c150 static struct ifnet **ifneta = NULL;
154 static void fr_setifpaddr __P((struct ifnet *, char *));
157 static int no_output __P((struct ifnet *, struct mbuf *,
159 static int write_output __P((struct ifnet *, struct mbuf *,
163 static int no_output __P((struct ifnet *, struct mbuf *,
165 static int write_output __P((struct ifnet *, struct mbuf *,
168 static int no_output __P((struct ifnet *, struct mbuf *,
170 static int write_output __P((struct ifnet *, struct mbuf *,
495 fdp->fd_ifp = (struct ifnet *)-1;
511 struct ifnet *if
[all...]
H A Dipftest.c23 extern struct ifnet *get_unit __P((char *, int, ipf_stack_t *));
79 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/uts/common/net/
H A Dif.h62 struct ifnet { struct
91 struct ifnet *if_next;
92 struct ifnet *if_upper; /* next layer up */
93 struct ifnet *if_lower; /* next layer down */
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/uts/common/netinet/
H A Dif_ether.h79 struct ifnet ac_if; /* network-visible interface */
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/
H A Dif_ether.h99 struct ifnet ac_if; /* network-visible interface */
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h418 * Systems based on non-BSD kernels don't have ifnet's (or they don't mean
422 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/uts/common/inet/ipf/netinet/
H A Dip_compat.h639 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
717 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
785 # define IFNAME(x) ((struct ifnet *)x)->if_xname
788 ((struct ifnet *)x)->if_xname, \
790 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7)
793 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7)
863 # define IFNAME(x) ((struct ifnet *)x)->if_xname
866 ((struct ifnet *)x)->if_xname, \
870 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index) & 7)
873 ((struct ifnet *)fi
1177 # define ifnet macro
1201 struct ifnet { struct
[all...]
H A Dip_fil.h154 struct ifnet;
1357 extern struct ifnet *get_unit __P((char *, int, ipf_stack_t *));
1358 extern char *get_ifname __P((struct ifnet *));
1484 extern char *getifname __P((struct ifnet *));
/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/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c50 struct interface *ifnet; variable in typeref:struct:interface
316 link_in((void **)&ifnet, ifp, offsetof(struct interface, int_link));
545 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
600 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
697 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
1056 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next)
1556 for (ifp1 = ifnet; ifp1 != NULL;
1670 for (ifp = ifnet; ifp != NULL; ifp = ifp1) {
1696 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
H A Drdisc.c336 for (ifp = ifnet; ifp; ifp = ifp->int_next) {
1138 for (ifp = ifnet; ifp; ifp = ifp->int_next) {
1182 for (ifp = ifnet; ifp; ifp = ifp->int_next) {
H A Dmain.c769 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {
871 for (ifp = ifnet; ifp != NULL; ifp = ifp->int_next) {

Completed in 2522 milliseconds

12