Searched refs:extlen (Results 1 – 2 of 2) sorted by relevance
289 int extlen; in ah6_output_done() local299 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output_done()300 if (extlen) in ah6_output_done()301 extlen += sizeof(*iph_ext); in ah6_output_done()305 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()310 if (extlen) { in ah6_output_done()312 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()314 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done()326 int extlen; in ah6_output() local352 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output()[all …]
285 int extlen; in ipv6_destopt_rcv() local297 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv()298 if (extlen > net->ipv6.sysctl.max_dst_opts_len) in ipv6_destopt_rcv()308 skb->transport_header += extlen; in ipv6_destopt_rcv()824 int extlen; in ipv6_parse_hopopts() local840 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts()841 if (extlen > net->ipv6.sysctl.max_hbh_opts_len) in ipv6_parse_hopopts()847 skb->transport_header += extlen; in ipv6_parse_hopopts()