Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/
Dgtp.c782 static void gtp_push_header(struct sk_buff *skb, struct gtp_pktinfo *pktinfo) in gtp_push_header() argument
784 switch (pktinfo->pctx->gtp_version) { in gtp_push_header()
786 pktinfo->gtph_port = htons(GTP0_PORT); in gtp_push_header()
787 gtp0_push_header(skb, pktinfo->pctx); in gtp_push_header()
790 pktinfo->gtph_port = htons(GTP1U_PORT); in gtp_push_header()
791 gtp1_push_header(skb, pktinfo->pctx); in gtp_push_header()
796 static inline void gtp_set_pktinfo_ipv4(struct gtp_pktinfo *pktinfo, in gtp_set_pktinfo_ipv4() argument
802 pktinfo->sk = sk; in gtp_set_pktinfo_ipv4()
803 pktinfo->iph = iph; in gtp_set_pktinfo_ipv4()
804 pktinfo->pctx = pctx; in gtp_set_pktinfo_ipv4()
[all …]
/linux-6.1.9/net/ipv4/
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-6.1.9/tools/testing/selftests/net/
Dtimestamping.c239 struct in_pktinfo *pktinfo = in printpacket() local
242 pktinfo->ipi_ifindex); in printpacket()