Home
last modified time | relevance | path

Searched refs:pktinfo (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/
A Dgtp.c475 pktinfo->sk = sk; in gtp_set_pktinfo_ipv4()
476 pktinfo->iph = iph; in gtp_set_pktinfo_ipv4()
477 pktinfo->pctx = pctx; in gtp_set_pktinfo_ipv4()
478 pktinfo->rt = rt; in gtp_set_pktinfo_ipv4()
479 pktinfo->fl4 = *fl4; in gtp_set_pktinfo_ipv4()
480 pktinfo->dev = dev; in gtp_set_pktinfo_ipv4()
592 &pktinfo.iph->saddr, &pktinfo.iph->daddr); in gtp_dev_xmit()
593 udp_tunnel_xmit_skb(pktinfo.rt, pktinfo.sk, skb, in gtp_dev_xmit()
594 pktinfo.fl4.saddr, pktinfo.fl4.daddr, in gtp_dev_xmit()
595 pktinfo.iph->tos, in gtp_dev_xmit()
[all …]
/linux/net/ipv4/
A Dip_sockglue.c1394 struct in_pktinfo *pktinfo = PKTINFO_SKB_CB(skb); in ipv4_pktinfo_prepare() local
1411 if (pktinfo->ipi_ifindex == LOOPBACK_IFINDEX) in ipv4_pktinfo_prepare()
1412 pktinfo->ipi_ifindex = inet_iif(skb); in ipv4_pktinfo_prepare()
1414 pktinfo->ipi_ifindex = rt->rt_iif; in ipv4_pktinfo_prepare()
1416 pktinfo->ipi_spec_dst.s_addr = fib_compute_spec_dst(skb); in ipv4_pktinfo_prepare()
1418 pktinfo->ipi_ifindex = 0; in ipv4_pktinfo_prepare()
1419 pktinfo->ipi_spec_dst.s_addr = 0; in ipv4_pktinfo_prepare()
/linux/tools/testing/selftests/net/
A Dtimestamping.c239 struct in_pktinfo *pktinfo = in printpacket() local
242 pktinfo->ipi_ifindex); in printpacket()

Completed in 10 milliseconds