Searched refs:nhlen (Results 1 – 4 of 4) sorted by relevance
46 int nhlen = skb->data - skb_network_header(skb); in xfrm6_transport_finish() local56 __skb_push(skb, nhlen); in xfrm6_transport_finish()58 skb_postpush_rcsum(skb, skb_network_header(skb), nhlen); in xfrm6_transport_finish()
33 static __u16 esp6_nexthdr_esp_offset(struct ipv6hdr *ipv6_hdr, int nhlen) in esp6_nexthdr_esp_offset() argument41 while (off < nhlen) { in esp6_nexthdr_esp_offset()
153 int nhs = 0, nhlen = nla_len(attr); in dn_fib_count_nhs() local155 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() local173 if (!rtnh_ok(nhp, nhlen)) in dn_fib_get_nhs()188 nhp = rtnh_next(nhp, &nhlen); in dn_fib_get_nhs()
232 int nhlen; in dn_fib_nh_match() local249 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()