-
- Downloads
ipv6: move IPV6_TCLASS_SHIFT into ipv6.h and define a helper
Two places defined IPV6_TCLASS_SHIFT, so we should move it into ipv6.h, and use this macro as possible. And define ip6_tclass helper to return tclass Signed-off-by:Li RongQing <roy.qing.li@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/ipv6.h 5 additions, 0 deletionsinclude/net/ipv6.h
- net/ipv6/fib6_rules.c 1 addition, 1 deletionnet/ipv6/fib6_rules.c
- net/ipv6/ip6_gre.c 0 additions, 2 deletionsnet/ipv6/ip6_gre.c
- net/ipv6/ip6_tunnel.c 0 additions, 2 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/ipv6_sockglue.c 2 additions, 1 deletionnet/ipv6/ipv6_sockglue.c
Loading
Please register or sign in to comment