Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/
Dgtp.c262 static bool gtp0_validate_echo_hdr(struct gtp0_header *gtp0) in gtp0_validate_echo_hdr() argument
264 return !(gtp0->tid || (gtp0->flags ^ 0x1e) || in gtp0_validate_echo_hdr()
265 gtp0->number != 0xff || gtp0->flow); in gtp0_validate_echo_hdr()
297 struct gtp0_header *gtp0; in gtp0_send_echo_resp() local
303 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_send_echo_resp()
305 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_send_echo_resp()
308 seq = gtp0->seq; in gtp0_send_echo_resp()
376 struct gtp0_header *gtp0; in gtp0_handle_echo_resp() local
382 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_handle_echo_resp()
384 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_handle_echo_resp()
[all …]