Searched refs:pktinfo (Results 1 – 3 of 3) sorted by relevance
1000 static void gtp_push_header(struct sk_buff *skb, struct gtp_pktinfo *pktinfo) in gtp_push_header() argument1002 switch (pktinfo->pctx->gtp_version) { in gtp_push_header()1004 pktinfo->gtph_port = htons(GTP0_PORT); in gtp_push_header()1005 gtp0_push_header(skb, pktinfo->pctx); in gtp_push_header()1008 pktinfo->gtph_port = htons(GTP1U_PORT); in gtp_push_header()1009 gtp1_push_header(skb, pktinfo->pctx); in gtp_push_header()1014 static inline void gtp_set_pktinfo_ipv4(struct gtp_pktinfo *pktinfo, in gtp_set_pktinfo_ipv4() argument1020 pktinfo->sk = sk; in gtp_set_pktinfo_ipv4()1021 pktinfo->tos = tos; in gtp_set_pktinfo_ipv4()1022 pktinfo->pctx = pctx; in gtp_set_pktinfo_ipv4()[all …]
1378 struct in_pktinfo *pktinfo = PKTINFO_SKB_CB(skb); in ipv4_pktinfo_prepare() local1395 if (pktinfo->ipi_ifindex == LOOPBACK_IFINDEX) in ipv4_pktinfo_prepare()1396 pktinfo->ipi_ifindex = inet_iif(skb); in ipv4_pktinfo_prepare()1398 pktinfo->ipi_ifindex = rt->rt_iif; in ipv4_pktinfo_prepare()1400 pktinfo->ipi_spec_dst.s_addr = fib_compute_spec_dst(skb); in ipv4_pktinfo_prepare()1402 pktinfo->ipi_ifindex = 0; in ipv4_pktinfo_prepare()1403 pktinfo->ipi_spec_dst.s_addr = 0; in ipv4_pktinfo_prepare()
239 struct in_pktinfo *pktinfo = in printpacket() local242 pktinfo->ipi_ifindex); in printpacket()