Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dgtp.c263 static bool gtp0_validate_echo_hdr(struct gtp0_header *gtp0) in gtp0_validate_echo_hdr() argument
265 return !(gtp0->tid || (gtp0->flags ^ 0x1e) || in gtp0_validate_echo_hdr()
266 gtp0->number != 0xff || gtp0->flow); in gtp0_validate_echo_hdr()
298 struct gtp0_header *gtp0; in gtp0_send_echo_resp() local
304 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_send_echo_resp()
306 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_send_echo_resp()
309 seq = gtp0->seq; in gtp0_send_echo_resp()
377 struct gtp0_header *gtp0; in gtp0_handle_echo_resp() local
383 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_handle_echo_resp()
385 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_handle_echo_resp()
[all …]