• Home
  • Raw
  • Download

Lines Matching refs:ah

296 	struct ip_auth_hdr *ah = ip_auth_hdr(skb);  in ah6_output_done()  local
307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
335 struct ip_auth_hdr *ah; in ah6_output() local
373 ah = ip_auth_hdr(skb); in ah6_output()
374 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_output()
401 ah->nexthdr = nexthdr; in ah6_output()
409 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output()
411 ah->reserved = 0; in ah6_output()
412 ah->spi = x->id.spi; in ah6_output()
413 ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in ah6_output()
440 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
465 struct ip_auth_hdr *ah = ip_auth_hdr(skb); in ah6_input_done() local
467 int ah_hlen = ipv6_authlen(ah); in ah6_input_done()
480 err = ah->nexthdr; in ah6_input_done()
520 struct ip_auth_hdr *ah; in ah6_input() local
544 ah = (struct ip_auth_hdr *)skb->data; in ah6_input()
548 nexthdr = ah->nexthdr; in ah6_input()
549 ah_hlen = ipv6_authlen(ah); in ah6_input()
551 if (ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_full_len) && in ah6_input()
552 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input()
563 ah = (struct ip_auth_hdr *)skb->data; in ah6_input()
588 memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len); in ah6_input()
589 memset(ah->auth_data, 0, ahp->icv_trunc_len); in ah6_input()
650 struct ip_auth_hdr *ah = (struct ip_auth_hdr *)(skb->data+offset); in ah6_err() local
657 …x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6… in ah6_err()