Searched refs:nhlen (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/net/ipv6/ |
| D | xfrm6_input.c | 44 int nhlen = skb->data - skb_network_header(skb); in xfrm6_transport_finish() local 54 __skb_push(skb, nhlen); in xfrm6_transport_finish() 56 skb_postpush_rcsum(skb, skb_network_header(skb), nhlen); in xfrm6_transport_finish()
|
| D | esp6_offload.c | 30 static __u16 esp6_nexthdr_esp_offset(struct ipv6hdr *ipv6_hdr, int nhlen) in esp6_nexthdr_esp_offset() argument 38 while (off < nhlen) { in esp6_nexthdr_esp_offset()
|
| /Linux-v5.10/include/net/ |
| D | ip_tunnels.h | 318 int nhlen; in pskb_inet_may_pull() local 323 nhlen = sizeof(struct ipv6hdr); in pskb_inet_may_pull() 327 nhlen = sizeof(struct iphdr); in pskb_inet_may_pull() 330 nhlen = 0; in pskb_inet_may_pull() 333 return pskb_network_may_pull(skb, nhlen); in pskb_inet_may_pull()
|
| /Linux-v5.10/net/decnet/ |
| D | dn_fib.c | 153 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()
|
| D | dn_table.c | 232 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()
|