Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dgtp.c391 static bool gtp0_validate_echo_hdr(struct gtp0_header *gtp0) in gtp0_validate_echo_hdr() argument
393 return !(gtp0->tid || (gtp0->flags ^ 0x1e) || in gtp0_validate_echo_hdr()
394 gtp0->number != 0xff || gtp0->flow); in gtp0_validate_echo_hdr()
455 struct gtp0_header *gtp0; in gtp0_send_echo_resp() local
458 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_send_echo_resp()
460 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_send_echo_resp()
463 seq = gtp0->seq; in gtp0_send_echo_resp()
528 struct gtp0_header *gtp0; in gtp0_handle_echo_resp() local
533 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_handle_echo_resp()
535 if (!gtp0_validate_echo_hdr(gtp0)) in gtp0_handle_echo_resp()
[all …]