summaryrefslogtreecommitdiffstats
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-09-28 12:23:35 +0200
committerDenis Ovsienko <infrastation@yandex.ru>2011-10-17 16:59:19 +0200
commit6d0732c8abad7ace509d033a41814ea03a3a1b16 (patch)
treed20c537d0e16cb5245047d8ecd9990201a4fb3b6 /lib/sockopt.h
parentbgpd: fix regression in improved attr flag checks (diff)
downloadfrr-6d0732c8abad7ace509d033a41814ea03a3a1b16.tar.xz
frr-6d0732c8abad7ace509d033a41814ea03a3a1b16.zip
IPv6 transport class suppport
IPv6 supports the same concept of differentiated service for routing protocols as IPv4, but like too many things, the standards committee decided that having two names for the same thing wasn't good enough and introduced a third more generic term transport class. The socket option to set transport class works the same as IPv4, but the arguments are different. * lib/sockopt.[ch] * setsockopt_ipv6_tclass(): new function * bgpd/bgp_network.c * bgp_connect(): set socket option * bgp_listener(): set socket option * ospf6d/ospf6_network.c * ospf6_set_transport_class(): new function * ospf6_serv_sock(): set socket option * ripngd/ripngd.c * ripng_make_socket(): set socket option
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index 69309e001..aced6d489 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -35,6 +35,7 @@ extern int setsockopt_ipv6_multicast_hops (int, int);
extern int setsockopt_ipv6_unicast_hops (int, int);
extern int setsockopt_ipv6_hoplimit (int, int);
extern int setsockopt_ipv6_multicast_loop (int, int);
+extern int setsockopt_ipv6_tclass (int, int);
#endif /* HAVE_IPV6 */
/*