version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.3, 2016/11/02 10:09:11
|
Line 83 extern int setsockopt_ipv6_tclass (int, int);
|
Line 83 extern int setsockopt_ipv6_tclass (int, int);
|
(((af) == AF_INET) : SOPT_SIZE_CMSG_IFINDEX_IPV4() \ |
(((af) == AF_INET) : SOPT_SIZE_CMSG_IFINDEX_IPV4() \ |
? SOPT_SIZE_CMSG_PKTINFO_IPV6()) |
? SOPT_SIZE_CMSG_PKTINFO_IPV6()) |
|
|
extern int setsockopt_ipv4_multicast_if(int sock, | extern int setsockopt_ipv4_multicast_if(int sock, ifindex_t ifindex); |
unsigned int ifindex); | |
extern int setsockopt_ipv4_multicast(int sock, int optname, |
extern int setsockopt_ipv4_multicast(int sock, int optname, |
unsigned int mcast_addr, |
unsigned int mcast_addr, |
unsigned int ifindex); | ifindex_t ifindex); |
extern int setsockopt_ipv4_tos(int sock, int tos); |
extern int setsockopt_ipv4_tos(int sock, int tos); |
|
|
/* Ask for, and get, ifindex, by whatever method is supported. */ |
/* Ask for, and get, ifindex, by whatever method is supported. */ |
extern int setsockopt_ifindex (int, int, int); | extern int setsockopt_ifindex (int, int, ifindex_t); |
extern int getsockopt_ifindex (int, struct msghdr *); | extern ifindex_t getsockopt_ifindex (int, struct msghdr *); |
|
|
/* swab the fields in iph between the host order and system order expected |
/* swab the fields in iph between the host order and system order expected |
* for IP_HDRINCL. |
* for IP_HDRINCL. |
Line 100 extern int getsockopt_ifindex (int, struct msghdr *);
|
Line 99 extern int getsockopt_ifindex (int, struct msghdr *);
|
extern void sockopt_iphdrincl_swab_htosys (struct ip *iph); |
extern void sockopt_iphdrincl_swab_htosys (struct ip *iph); |
extern void sockopt_iphdrincl_swab_systoh (struct ip *iph); |
extern void sockopt_iphdrincl_swab_systoh (struct ip *iph); |
|
|
|
extern int sockopt_tcp_rtt (int); |
extern int sockopt_tcp_signature(int sock, union sockunion *su, |
extern int sockopt_tcp_signature(int sock, union sockunion *su, |
const char *password); |
const char *password); |
#endif /*_ZEBRA_SOCKOPT_H */ |
#endif /*_ZEBRA_SOCKOPT_H */ |