Home
last modified time | relevance | path

Searched refs:iif (Results 1 – 24 of 24) sorted by relevance

/net/sched/
Dcls_route.c31 int iif; member
49 int iif; member
61 static inline int route4_fastmap_hash(u32 id, int iif) in route4_fastmap_hash() argument
76 route4_set_fastmap(struct route4_head *head, u32 id, int iif, in route4_set_fastmap() argument
79 int h = route4_fastmap_hash(id, iif); in route4_set_fastmap()
84 head->fastmap[h].iif = iif; in route4_set_fastmap()
99 static inline int route4_hash_iif(int iif) in route4_hash_iif() argument
101 return 16 + ((iif >> 16) & 0xF); in route4_hash_iif()
120 route4_set_fastmap(head, id, iif, f); \
132 int iif, dont_cache = 0; in route4_classify() local
[all …]
Dact_sample.c170 int iif; in tcf_sample_act() local
182 iif = skb->skb_iif; in tcf_sample_act()
185 iif = skb->dev->ifindex; in tcf_sample_act()
194 psample_sample_packet(psample_group, skb, size, iif, oif, in tcf_sample_act()
/net/ipv6/
Dreassembly.c84 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find() argument
91 .iif = iif, in fq_find()
97 key.iif = 0; in fq_find()
194 fq->iif = dev->ifindex; in ip6_frag_queue()
328 int iif; in ipv6_frag_rcv() local
373 iif = skb->dev ? skb->dev->ifindex : 0; in ipv6_frag_rcv()
374 fq = fq_find(net, fhdr->identification, hdr, iif); in ipv6_frag_rcv()
381 fq->iif = iif; in ipv6_frag_rcv()
Dmip6.c110 int iif; member
177 const struct in6_addr *src, int iif) in mip6_report_rl_allow() argument
183 mip6_report_rl.iif != iif || in mip6_report_rl_allow()
187 mip6_report_rl.iif = iif; in mip6_report_rl_allow()
223 opt->iif)) in mip6_destopt_reject()
Ddatagram.c439 if (!IP6CB(skb)->iif) in ip6_datagram_support_cmsg()
493 IP6CB(skb)->iif); in ipv6_recv_error()
516 IP6CB(skb)->iif); in ipv6_recv_error()
599 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl()
692 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_specific_ctl()
733 opt->iif); in ip6_datagram_recv_specific_ctl()
Dseg6_local.c54 int iif; member
788 slwt->iif = nla_get_u32(attrs[SEG6_LOCAL_IIF]); in parse_nla_iif()
795 if (nla_put_u32(skb, SEG6_LOCAL_IIF, slwt->iif)) in put_nla_iif()
803 if (a->iif != b->iif) in cmp_nla_iif()
Dicmp.c465 int iif = 0; in icmp6_send() local
511 iif = icmp6_iif(skb); in icmp6_send()
517 iif = l3mdev_master_ifindex(skb->dev); in icmp6_send()
565 in_netdev = dev_get_by_index(net, parm->iif); in icmp6_send()
574 fl6.flowi6_oif = iif; in icmp6_send()
Droute.c110 int iif, int type, u32 portid, u32 seq,
4361 idev = __in6_dev_get_safely(dev_get_by_index_rcu(net, IP6CB(skb)->iif)); in ip6_pkt_drop()
5460 int iif, int type, u32 portid, u32 seq, in rt6_fill_node() argument
5522 if (iif) { in rt6_fill_node()
5533 if (nla_put_u32(skb, RTA_IIF, iif)) in rt6_fill_node()
5871 int err, iif = 0, oif = 0; in inet6_rtm_getroute() local
5904 iif = nla_get_u32(tb[RTA_IIF]); in inet6_rtm_getroute()
5916 fl6.flowi6_uid = iif ? INVALID_UID : current_uid(); in inet6_rtm_getroute()
5932 if (iif) { in inet6_rtm_getroute()
5938 dev = dev_get_by_index_rcu(net, iif); in inet6_rtm_getroute()
[all …]
Dseg6_iptunnel.c170 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap()
Dip6_input.c186 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core()
Dsit.c561 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in ipip6_err()
680 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in ipip6_rcv()
756 sifindex = netif_is_l3_master(skb->dev) ? IPCB(skb)->iif : 0; in sit_tunnel_rcv()
Dip6_output.c503 idev = __in6_dev_get_safely(dev_get_by_index_rcu(net, IP6CB(skb)->iif)); in ip6_forward()
576 if (IP6CB(skb)->iif == dst->dev->ifindex && in ip6_forward()
Dndisc.c1608 dev = __dev_get_by_index(dev_net(skb->dev), IPCB(skb)->iif); in ndisc_send_redirect()
Dip6mr.c2208 dev = dev_get_by_index_rcu(net, IPCB(skb)->iif); in ip6_mr_input()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c150 const struct ipv6hdr *hdr, int iif) in fq_find() argument
157 .iif = iif, in fq_find()
267 fq->iif = dev->ifindex; in nf_ct_frag6_queue()
/net/ipv4/
Dip_fragment.c66 int iif; member
170 head->dev = dev_get_by_index_rcu(net, qp->iif); in ip_expire()
266 qp->iif = 0; in ip_frag_reinit()
349 qp->iif = dev->ifindex; in ip_frag_queue()
Droute.c982 dev = __dev_get_by_index(dev_net(skb->dev), IPCB(skb)->iif); in ip_error()
3208 u32 iif; in inet_rtm_getroute() local
3219 iif = tb[RTA_IIF] ? nla_get_u32(tb[RTA_IIF]) : 0; in inet_rtm_getroute()
3224 uid = (iif ? INVALID_UID : current_uid()); in inet_rtm_getroute()
3257 if (iif) { in inet_rtm_getroute()
3260 dev = dev_get_by_index_rcu(net, iif); in inet_rtm_getroute()
3266 fl4.flowi4_iif = iif; /* for rt_fill_info */ in inet_rtm_getroute()
Dip_input.c516 IPCB(skb)->iif = skb->skb_iif; in ip_rcv_core()
Dipmr.c2087 dev = dev_get_by_index_rcu(net, IPCB(skb)->iif); in ip_mr_input()
Digmp.c1075 dev = dev_get_by_index_rcu(dev_net(dev), IPCB(skb)->iif); in igmp_rcv()
/net/sctp/
Dipv6.c486 addr->v6.sin6_scope_id = ((struct inet6_skb_parm *)skb->cb)->iif; in sctp_v6_from_skb()
535 __be16 port, int iif) in sctp_v6_from_addr_param() argument
544 addr->v6.sin6_scope_id = iif; in sctp_v6_from_addr_param()
789 return IP6CB(skb)->iif; in sctp_v6_skb_iif()
Dprotocol.c258 __be16 port, int iif) in sctp_v4_from_addr_param() argument
/net/netfilter/
Dnf_flow_table_ip.c300 IPCB(skb)->iif = skb->dev->ifindex; in nf_flow_offload_ip_hook()
541 IP6CB(skb)->iif = skb->dev->ifindex; in nf_flow_offload_ipv6_hook()
/net/core/
Dskbuff.c4707 serr->header.h4.iif = skb->dev ? skb->dev->ifindex : 0; in __skb_complete_tx_timestamp()