Lines Matching refs:pdp_ctx
36 struct pdp_ctx { struct
86 static void pdp_context_delete(struct pdp_ctx *pctx);
105 static struct pdp_ctx *gtp0_pdp_find(struct gtp_dev *gtp, u64 tid) in gtp0_pdp_find()
108 struct pdp_ctx *pdp; in gtp0_pdp_find()
121 static struct pdp_ctx *gtp1_pdp_find(struct gtp_dev *gtp, u32 tid) in gtp1_pdp_find()
124 struct pdp_ctx *pdp; in gtp1_pdp_find()
137 static struct pdp_ctx *ipv4_pdp_find(struct gtp_dev *gtp, __be32 ms_addr) in ipv4_pdp_find()
140 struct pdp_ctx *pdp; in ipv4_pdp_find()
153 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4()
172 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms()
182 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx()
217 struct pdp_ctx *pctx; in gtp0_udp_encap_recv()
244 struct pdp_ctx *pctx; in gtp1u_udp_encap_recv()
400 static inline void gtp0_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) in gtp0_push_header()
417 static inline void gtp1_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) in gtp1_push_header()
445 struct pdp_ctx *pctx;
466 struct pdp_ctx *pctx, struct rtable *rt, in gtp_set_pktinfo_ipv4()
482 struct pdp_ctx *pctx; in gtp_build_skb_ip4()
703 struct pdp_ctx *pctx; in gtp_dellink()
900 static void ipv4_pdp_fill(struct pdp_ctx *pctx, struct genl_info *info) in ipv4_pdp_fill()
927 static struct pdp_ctx *gtp_pdp_add(struct gtp_dev *gtp, struct sock *sk, in gtp_pdp_add()
930 struct pdp_ctx *pctx, *pctx_tid = NULL; in gtp_pdp_add()
1022 struct pdp_ctx *pctx = container_of(head, struct pdp_ctx, rcu_head); in pdp_context_free()
1028 static void pdp_context_delete(struct pdp_ctx *pctx) in pdp_context_delete()
1035 static int gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation);
1040 struct pdp_ctx *pctx; in gtp_genl_new_pdp()
1102 static struct pdp_ctx *gtp_find_pdp_by_link(struct net *net, in gtp_find_pdp_by_link()
1127 static struct pdp_ctx *gtp_find_pdp(struct net *net, struct nlattr *nla[]) in gtp_find_pdp()
1129 struct pdp_ctx *pctx; in gtp_find_pdp()
1144 struct pdp_ctx *pctx; in gtp_genl_del_pdp()
1184 int flags, u32 type, struct pdp_ctx *pctx) in gtp_genl_fill_info()
1220 static int gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation) in gtp_tunnel_notify()
1242 struct pdp_ctx *pctx = NULL; in gtp_genl_get_pdp()
1284 struct pdp_ctx *pctx; in gtp_genl_dump_pdp()
1422 sizeof(struct pdp_ctx)); in gtp_init()