Home
last modified time | relevance | path

Searched refs:SKB_TYPE_LE32 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireguard/
H A Dreceive.c26 #define SKB_TYPE_LE32(skb) (((struct message_header *)(skb)->data)->type) macro
32 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_DATA) && in validate_header_len()
35 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_INITIATION) && in validate_header_len()
38 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_RESPONSE) && in validate_header_len()
41 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE) && in validate_header_len()
104 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE)) { in wg_receive_handshake_packet()
134 switch (SKB_TYPE_LE32(skb)) { in wg_receive_handshake_packet()
546 switch (SKB_TYPE_LE32(skb)) { in wg_packet_receive()