Home
last modified time | relevance | path

Searched refs:dsfield (Results 1 – 3 of 3) sorted by relevance

/include/net/
Ddsfield.h32 __u8 dsfield; in ipv4_change_dsfield() local
34 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield()
37 check -= dsfield; in ipv4_change_dsfield()
40 iph->tos = dsfield; in ipv4_change_dsfield()
Dinet_ecn.h23 static inline int INET_ECN_is_ce(__u8 dsfield) in INET_ECN_is_ce() argument
25 return (dsfield & INET_ECN_MASK) == INET_ECN_CE; in INET_ECN_is_ce()
28 static inline int INET_ECN_is_not_ect(__u8 dsfield) in INET_ECN_is_not_ect() argument
30 return (dsfield & INET_ECN_MASK) == INET_ECN_NOT_ECT; in INET_ECN_is_not_ect()
33 static inline int INET_ECN_is_capable(__u8 dsfield) in INET_ECN_is_capable() argument
35 return dsfield & INET_ECN_ECT_0; in INET_ECN_is_capable()
Dip6_tunnel.h144 int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield,