Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dgtp.c1000 static void gtp_push_header(struct sk_buff *skb, struct gtp_pktinfo *pktinfo) in gtp_push_header() argument
1002 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() argument
1020 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 …]
/linux/net/ipv4/
H A Dip_sockglue.c1378 struct in_pktinfo *pktinfo = PKTINFO_SKB_CB(skb); in ipv4_pktinfo_prepare() local
1395 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()
/linux/tools/testing/selftests/net/
H A Dtimestamping.c239 struct in_pktinfo *pktinfo = in printpacket() local
242 pktinfo->ipi_ifindex); in printpacket()