Lines Matching refs:amtrh
702 struct amt_header_request *amtrh;
733 len = hlen + tlen + sizeof(*iph) + sizeof(*udph) + sizeof(*amtrh);
744 len = sizeof(*iph) + sizeof(*udph) + sizeof(*amtrh);
747 amtrh = skb_pull(skb, sizeof(*iph) + sizeof(*udph));
748 amtrh->version = 0;
749 amtrh->type = AMT_MSG_REQUEST;
750 amtrh->reserved1 = 0;
751 amtrh->p = v6;
752 amtrh->reserved2 = 0;
753 amtrh->nonce = amt->nonce;
759 udph->len = htons(sizeof(*amtrh) + sizeof(*udph));
764 sizeof(*udph) + sizeof(*amtrh),
2660 struct amt_header_request *amtrh;
2668 if (!pskb_may_pull(skb, sizeof(*udph) + sizeof(*amtrh)))
2673 amtrh = (struct amt_header_request *)(udp_hdr(skb) + 1);
2675 if (amtrh->reserved1 || amtrh->reserved2 || amtrh->version)
2717 tunnel->nonce = amtrh->nonce;
2727 if (!amtrh->p)