Home
last modified time | relevance | path

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

/include/net/
Dinet_ecn.h18 INET_ECN_MASK = 3, enumerator
25 return (dsfield & INET_ECN_MASK) == INET_ECN_CE; in INET_ECN_is_ce()
30 return (dsfield & INET_ECN_MASK) == INET_ECN_NOT_ECT; in INET_ECN_is_not_ect()
48 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate()
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
63 inet_sk(sk)->tos &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
65 inet6_sk(sk)->tclass &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
69 (label) &= ~htonl(INET_ECN_MASK << 20); \
79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce()
107 if ((iph->tos & INET_ECN_MASK) != INET_ECN_ECT_0) in IP_ECN_set_ect1()
[all …]