Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/
H A Dgtp.c574 struct gtp1_header *gtp1; in gtp1u_udp_encap_recv() local
582 if ((gtp1->flags >> 5) != GTP_V1) in gtp1u_udp_encap_recv()
595 if (gtp1->type != GTP_TPDU) in gtp1u_udp_encap_recv()
604 if (gtp1->flags & GTP1_F_MASK) in gtp1u_udp_encap_recv()
613 pctx = gtp1_pdp_find(gtp, ntohl(gtp1->tid)); in gtp1u_udp_encap_recv()
755 struct gtp1_header *gtp1; in gtp1_push_header() local
757 gtp1 = skb_push(skb, sizeof(*gtp1)); in gtp1_push_header()
765 gtp1->flags = 0x30; /* v1, GTP-non-prime. */ in gtp1_push_header()
766 gtp1->type = GTP_TPDU; in gtp1_push_header()
767 gtp1->length = htons(payload_len); in gtp1_push_header()
[all …]