/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 150 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 *, 496 fdp->fd_ifp = (struct ifnet *)-1; 512 struct ifnet *ifp; [all …]
|
H A D | ipftest.c | 18 extern struct ifnet *get_unit __P((char *, int, ipf_stack_t *)); 74 struct ifnet *ifp;
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 385 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 D | if_ether.h | 117 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 D | in.h | 639 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 D | ip_var.h | 87 struct ifnet *imo_multicast_ifp; /* ifp for outgoing multicasts */ 216 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
|
H A D | in_pcb.h | 687 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 D | if.h | 62 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 D | route.h | 110 struct ifnet *rt_ifp; /* the answer: interface to use */
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | getifname.c | 22 struct ifnet *ptr; in getifname() 38 struct ifnet netif;
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 645 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7) 723 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7) 791 # define IFNAME(x) ((struct ifnet *)x)->if_xname 794 ((struct ifnet *)x)->if_xname, \ 796 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index)&7) 799 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7) 869 # define IFNAME(x) ((struct ifnet *)x)->if_xname 872 ((struct ifnet *)x)->if_xname, \ 876 # define CACHE_HASH(x) ((((struct ifnet *)fin->fin_ifp)->if_index) & 7) 879 ((struct ifnet *)fin->fin_ifp)->if_unit) & 7) [all …]
|
H A D | ip_fil.h | 159 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 D | bpf-ipf.h | 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/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | startup.c | 39 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 D | if.c | 48 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 D | output.c | 52 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 D | defs.h | 130 extern struct interface *ifnet;
|
H A D | main.c | 281 for (ifp = ifnet; ifp != NULL; in main()
|
/illumos-gate/usr/src/boot/include/netinet6/ |
H A D | in6.h | 655 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 D | if.c | 50 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 D | main.c | 769 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 D | rdisc.c | 334 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 D | output.c | 929 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 D | table.c | 2585 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()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | if_ether.h | 78 struct ifnet ac_if; /* network-visible interface */
|