Home
last modified time | relevance | path

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

/net/mpls/
Daf_mpls.c104 struct mpls_entry_decoded dec; in mpls_multipath_hash() local
119 dec = mpls_entry_decode(hdr); in mpls_multipath_hash()
124 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) { in mpls_multipath_hash()
125 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
135 } else if (dec.label == MPLS_LABEL_ENTROPY) { in mpls_multipath_hash()
139 if (!dec.bos) in mpls_multipath_hash()
203 struct mpls_entry_decoded dec) in mpls_egress() argument
231 htons(dec.ttl << 8)); in mpls_egress()
232 hdr4->ttl = dec.ttl; in mpls_egress()
239 hdr6->hop_limit = dec.ttl; in mpls_egress()
[all …]
/net/ipv4/
Dtcp_nv.c377 int dec; in tcpnv_acked() local
379 dec = max(2U, ((tp->snd_cwnd - max_win) * in tcpnv_acked()
381 tp->snd_cwnd -= dec; in tcpnv_acked()
/net/caif/
Dcfctrl.c595 static int dec; in handle_loop() local
600 if (!dec) { in handle_loop()
605 dec = 1; in handle_loop()
613 dec = 0; in handle_loop()