Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/net/
Dinet_ecn.h12 static inline int INET_ECN_is_ce(__u8 dsfield) in INET_ECN_is_ce() argument
14 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() argument
19 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() argument
24 return (dsfield&2); in INET_ECN_is_capable()
Ddsfield.h31 __u8 dsfield; in ipv4_change_dsfield() local
33 dsfield = (iph->tos & mask) | value; in ipv4_change_dsfield()
36 check -= dsfield; in ipv4_change_dsfield()
39 iph->tos = dsfield; in ipv4_change_dsfield()