Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/
Dgtp.c254 struct gtp1_header *gtp1; in gtp1u_udp_encap_recv() local
260 gtp1 = (struct gtp1_header *)(skb->data + sizeof(struct udphdr)); in gtp1u_udp_encap_recv()
262 if ((gtp1->flags >> 5) != GTP_V1) in gtp1u_udp_encap_recv()
265 if (gtp1->type != GTP_TPDU) in gtp1u_udp_encap_recv()
274 if (gtp1->flags & GTP1_F_MASK) in gtp1u_udp_encap_recv()
281 gtp1 = (struct gtp1_header *)(skb->data + sizeof(struct udphdr)); in gtp1u_udp_encap_recv()
283 pctx = gtp1_pdp_find(gtp, ntohl(gtp1->tid)); in gtp1u_udp_encap_recv()
416 struct gtp1_header *gtp1; in gtp1_push_header() local
418 gtp1 = skb_push(skb, sizeof(*gtp1)); in gtp1_push_header()
426 gtp1->flags = 0x30; /* v1, GTP-non-prime. */ in gtp1_push_header()
[all …]