Lines Matching refs:pdp_ctx
40 struct pdp_ctx { struct
91 static void pdp_context_delete(struct pdp_ctx *pctx);
110 static struct pdp_ctx *gtp0_pdp_find(struct gtp_dev *gtp, u64 tid) in gtp0_pdp_find()
113 struct pdp_ctx *pdp; in gtp0_pdp_find()
126 static struct pdp_ctx *gtp1_pdp_find(struct gtp_dev *gtp, u32 tid) in gtp1_pdp_find()
129 struct pdp_ctx *pdp; in gtp1_pdp_find()
142 static struct pdp_ctx *ipv4_pdp_find(struct gtp_dev *gtp, __be32 ms_addr) in ipv4_pdp_find()
145 struct pdp_ctx *pdp; in ipv4_pdp_find()
158 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4()
177 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms()
187 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx()
228 struct pdp_ctx *pctx; in gtp0_udp_encap_recv()
255 struct pdp_ctx *pctx; in gtp1u_udp_encap_recv()
396 static inline void gtp0_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) in gtp0_push_header()
413 static inline void gtp1_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) in gtp1_push_header()
441 struct pdp_ctx *pctx;
462 struct pdp_ctx *pctx, struct rtable *rt, in gtp_set_pktinfo_ipv4()
478 struct pdp_ctx *pctx; in gtp_build_skb_ip4()
769 struct pdp_ctx *pctx; in gtp_hashtable_free()
887 static void ipv4_pdp_fill(struct pdp_ctx *pctx, struct genl_info *info) in ipv4_pdp_fill()
919 struct pdp_ctx *pctx; in ipv4_pdp_add()
952 pctx = kmalloc(sizeof(struct pdp_ctx), GFP_KERNEL); in ipv4_pdp_add()
997 struct pdp_ctx *pctx = container_of(head, struct pdp_ctx, rcu_head); in pdp_context_free()
1003 static void pdp_context_delete(struct pdp_ctx *pctx) in pdp_context_delete()
1068 static struct pdp_ctx *gtp_find_pdp_by_link(struct net *net, in gtp_find_pdp_by_link()
1093 static struct pdp_ctx *gtp_find_pdp(struct net *net, struct nlattr *nla[]) in gtp_find_pdp()
1095 struct pdp_ctx *pctx; in gtp_find_pdp()
1110 struct pdp_ctx *pctx; in gtp_genl_del_pdp()
1141 u32 type, struct pdp_ctx *pctx) in gtp_genl_fill_info()
1178 struct pdp_ctx *pctx = NULL; in gtp_genl_get_pdp()
1222 struct pdp_ctx *pctx; in gtp_genl_dump_pdp()
1351 sizeof(struct pdp_ctx)); in gtp_init()