Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / stacks / AROSTCP / bsdsocket / protos / net / if_protos.h
blobf2f857e68ade230c5c70d91ca22acca875d7f6f1
1 /* Prototypes for functions defined in if.c
2 */
4 void ifinit(void);
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,
20 struct rtentry * rt,
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,
32 long cmd,
33 caddr_t data);
35 void ifupdown(struct ifnet *ifp, int up);
37 int ifconf(int cmd,
38 caddr_t data);