Searched refs:gtp0 (Results 1 – 1 of 1) sorted by relevance
216 struct gtp0_header *gtp0; in gtp0_udp_encap_recv() local222 gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); in gtp0_udp_encap_recv()224 if ((gtp0->flags >> 5) != GTP_V0) in gtp0_udp_encap_recv()227 if (gtp0->type != GTP_TPDU) in gtp0_udp_encap_recv()230 pctx = gtp0_pdp_find(gtp, be64_to_cpu(gtp0->tid)); in gtp0_udp_encap_recv()403 struct gtp0_header *gtp0; in gtp0_push_header() local405 gtp0 = skb_push(skb, sizeof(*gtp0)); in gtp0_push_header()407 gtp0->flags = 0x1e; /* v0, GTP-non-prime. */ in gtp0_push_header()408 gtp0->type = GTP_TPDU; in gtp0_push_header()409 gtp0->length = htons(payload_len); in gtp0_push_header()[all …]