1 /* Prototypes for functions defined in if.c
6 void if_attach(struct ifnet
* ifp
);
8 struct ifaddr
* ifa_ifwithaddr(register struct sockaddr
* addr
);
10 struct ifaddr
* ifa_ifwithdstaddr(register struct sockaddr
* addr
);
12 struct ifaddr
* ifa_ifwithnet(struct sockaddr
* addr
);
14 struct ifaddr
* ifa_ifwithaf(register int af
);
16 struct ifaddr
* ifaof_ifpforaddr(struct sockaddr
* addr
,
17 register struct ifnet
* ifp
);
19 void link_rtrequest(int cmd
,
21 struct sockaddr
* sa
);
23 void if_down(register struct ifnet
* ifp
);
25 void if_qflush(register struct ifqueue
* ifq
);
27 void if_slowtimo(void);
29 struct ifnet
* ifunit(register char * name
);
31 int ifioctl(struct socket
* so
,
35 void ifupdown(struct ifnet
*ifp
, int up
);