Searched refs:pktinfo (Results 1 – 3 of 3) sorted by relevance
448 static void gtp_push_header(struct sk_buff *skb, struct gtp_pktinfo *pktinfo) in gtp_push_header() argument450 switch (pktinfo->pctx->gtp_version) { in gtp_push_header()452 pktinfo->gtph_port = htons(GTP0_PORT); in gtp_push_header()453 gtp0_push_header(skb, pktinfo->pctx); in gtp_push_header()456 pktinfo->gtph_port = htons(GTP1U_PORT); in gtp_push_header()457 gtp1_push_header(skb, pktinfo->pctx); in gtp_push_header()462 static inline void gtp_set_pktinfo_ipv4(struct gtp_pktinfo *pktinfo, in gtp_set_pktinfo_ipv4() argument468 pktinfo->sk = sk; in gtp_set_pktinfo_ipv4()469 pktinfo->iph = iph; in gtp_set_pktinfo_ipv4()470 pktinfo->pctx = pctx; in gtp_set_pktinfo_ipv4()[all …]
1385 struct in_pktinfo *pktinfo = PKTINFO_SKB_CB(skb); in ipv4_pktinfo_prepare() local1402 if (pktinfo->ipi_ifindex == LOOPBACK_IFINDEX) in ipv4_pktinfo_prepare()1403 pktinfo->ipi_ifindex = inet_iif(skb); in ipv4_pktinfo_prepare()1405 pktinfo->ipi_ifindex = rt->rt_iif; in ipv4_pktinfo_prepare()1407 pktinfo->ipi_spec_dst.s_addr = fib_compute_spec_dst(skb); in ipv4_pktinfo_prepare()1409 pktinfo->ipi_ifindex = 0; in ipv4_pktinfo_prepare()1410 pktinfo->ipi_spec_dst.s_addr = 0; in ipv4_pktinfo_prepare()
221 struct in_pktinfo *pktinfo = in printpacket() local224 pktinfo->ipi_ifindex); in printpacket()