Searched refs:dsfield (Results 1 – 2 of 2) sorted by relevance
12 static inline int INET_ECN_is_ce(__u8 dsfield) in INET_ECN_is_ce() argument14 return (dsfield&3) == 3; in INET_ECN_is_ce()17 static inline int INET_ECN_is_not_ce(__u8 dsfield) in INET_ECN_is_not_ce() argument19 return (dsfield&3) == 2; in INET_ECN_is_not_ce()22 static inline int INET_ECN_is_capable(__u8 dsfield) in INET_ECN_is_capable() argument24 return (dsfield&2); in INET_ECN_is_capable()
31 __u8 dsfield; in ipv4_change_dsfield() local33 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield()36 check -= dsfield; in ipv4_change_dsfield()39 iph->tos = dsfield; in ipv4_change_dsfield()