Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv6/
Dxfrm6_input.c46 int nhlen = skb->data - skb_network_header(skb); in xfrm6_transport_finish() local
56 __skb_push(skb, nhlen); in xfrm6_transport_finish()
58 skb_postpush_rcsum(skb, skb_network_header(skb), nhlen); in xfrm6_transport_finish()
Desp6_offload.c33 static __u16 esp6_nexthdr_esp_offset(struct ipv6hdr *ipv6_hdr, int nhlen) in esp6_nexthdr_esp_offset() argument
41 while (off < nhlen) { in esp6_nexthdr_esp_offset()
/Linux-v4.19/net/decnet/
Ddn_fib.c153 int nhs = 0, nhlen = nla_len(attr); in dn_fib_count_nhs() local
155 while (rtnh_ok(nhp, nhlen)) { in dn_fib_count_nhs()
157 nhp = rtnh_next(nhp, &nhlen); in dn_fib_count_nhs()
161 return nhlen > 0 ? 0 : nhs; in dn_fib_count_nhs()
168 int nhlen = nla_len(attr); in dn_fib_get_nhs() local
173 if (!rtnh_ok(nhp, nhlen)) in dn_fib_get_nhs()
188 nhp = rtnh_next(nhp, &nhlen); in dn_fib_get_nhs()
Ddn_table.c232 int nhlen; in dn_fib_nh_match() local
249 nhlen = nla_len(attrs[RTA_MULTIPATH]); in dn_fib_nh_match()
252 int attrlen = nhlen - sizeof(struct rtnexthop); in dn_fib_nh_match()
255 if (attrlen < 0 || (nhlen -= nhp->rtnh_len) < 0) in dn_fib_nh_match()