gtp0 222 drivers/net/gtp.c struct gtp0_header *gtp0; gtp0 228 drivers/net/gtp.c gtp0 = (struct gtp0_header *)(skb->data + sizeof(struct udphdr)); gtp0 230 drivers/net/gtp.c if ((gtp0->flags >> 5) != GTP_V0) gtp0 233 drivers/net/gtp.c if (gtp0->type != GTP_TPDU) gtp0 236 drivers/net/gtp.c pctx = gtp0_pdp_find(gtp, be64_to_cpu(gtp0->tid)); gtp0 407 drivers/net/gtp.c struct gtp0_header *gtp0; gtp0 409 drivers/net/gtp.c gtp0 = skb_push(skb, sizeof(*gtp0)); gtp0 411 drivers/net/gtp.c gtp0->flags = 0x1e; /* v0, GTP-non-prime. */ gtp0 412 drivers/net/gtp.c gtp0->type = GTP_TPDU; gtp0 413 drivers/net/gtp.c gtp0->length = htons(payload_len); gtp0 414 drivers/net/gtp.c gtp0->seq = htons((atomic_inc_return(&pctx->tx_seq) - 1) % 0xffff); gtp0 415 drivers/net/gtp.c gtp0->flow = htons(pctx->u.v0.flow); gtp0 416 drivers/net/gtp.c gtp0->number = 0xff; gtp0 417 drivers/net/gtp.c gtp0->spare[0] = gtp0->spare[1] = gtp0->spare[2] = 0xff; gtp0 418 drivers/net/gtp.c gtp0->tid = cpu_to_be64(pctx->u.v0.tid);