Searched refs:dsfield (Results 1 – 3 of 3) sorted by relevance
32 __u8 dsfield; in ipv4_change_dsfield() local34 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield()37 check -= dsfield; in ipv4_change_dsfield()40 iph->tos = dsfield; in ipv4_change_dsfield()
23 static inline int INET_ECN_is_ce(__u8 dsfield) in INET_ECN_is_ce() argument25 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() argument30 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() argument35 return dsfield & INET_ECN_ECT_0; in INET_ECN_is_capable()
144 int ip6_tnl_xmit(struct sk_buff *skb, struct net_device *dev, __u8 dsfield,