Lines Matching refs:amtmq
1114 struct amt_header_membership_query *amtmq; in amt_send_membership_query() local
1124 err = skb_cow_head(skb, LL_RESERVED_SPACE(amt->dev) + sizeof(*amtmq) + in amt_send_membership_query()
1142 amtmq = skb_push(skb, sizeof(*amtmq)); in amt_send_membership_query()
1143 amtmq->version = 0; in amt_send_membership_query()
1144 amtmq->type = AMT_MSG_MEMBERSHIP_QUERY; in amt_send_membership_query()
1145 amtmq->reserved = 0; in amt_send_membership_query()
1146 amtmq->l = 0; in amt_send_membership_query()
1147 amtmq->g = 0; in amt_send_membership_query()
1148 amtmq->nonce = tunnel->nonce; in amt_send_membership_query()
1149 amtmq->response_mac = tunnel->mac; in amt_send_membership_query()
2348 struct amt_header_membership_query *amtmq; in amt_membership_query_handler() local
2354 hdr_size = sizeof(*amtmq) + sizeof(struct udphdr); in amt_membership_query_handler()
2358 amtmq = (struct amt_header_membership_query *)(udp_hdr(skb) + 1); in amt_membership_query_handler()
2359 if (amtmq->reserved || amtmq->version) in amt_membership_query_handler()
2362 if (amtmq->nonce != amt->nonce) in amt_membership_query_handler()
2393 amt->mac = amtmq->response_mac; in amt_membership_query_handler()
2419 amt->mac = amtmq->response_mac; in amt_membership_query_handler()