Home
last modified time | relevance | path

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

/net/sched/
Dcls_route.c36 int iif; member
52 int iif; member
67 static inline int route4_fastmap_hash(u32 id, int iif) in route4_fastmap_hash() argument
83 route4_set_fastmap(struct route4_head *head, u32 id, int iif, in route4_set_fastmap() argument
86 int h = route4_fastmap_hash(id, iif); in route4_set_fastmap()
89 head->fastmap[h].iif = iif; in route4_set_fastmap()
103 static inline int route4_hash_iif(int iif) in route4_hash_iif() argument
105 return 16 + ((iif >> 16) & 0xF); in route4_hash_iif()
124 route4_set_fastmap(head, id, iif, f); \
136 int iif, dont_cache = 0; in route4_classify() local
[all …]
/net/ipv6/
Dmip6.c122 int iif; member
189 const struct in6_addr *src, int iif) in mip6_report_rl_allow() argument
196 mip6_report_rl.iif != iif || in mip6_report_rl_allow()
201 mip6_report_rl.iif = iif; in mip6_report_rl_allow()
237 opt->iif)) in mip6_destopt_reject()
Dinet6_connection_sock.c85 fl6->flowi6_oif = treq->iif; in inet6_csk_route_req()
124 const int iif) in inet6_csk_search_req() argument
141 (!treq->iif || treq->iif == iif)) { in inet6_csk_search_req()
Ddatagram.c369 IP6CB(skb)->iif); in ipv6_recv_error()
390 IP6CB(skb)->iif); in ipv6_recv_error()
489 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_ctl()
565 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_ctl()
605 opt->iif); in ip6_datagram_recv_ctl()
Dsyncookies.c209 ireq6->iif = sk->sk_bound_dev_if; in cookie_v6_check()
213 ireq6->iif = inet6_iif(skb); in cookie_v6_check()
Dicmp.c395 int iif = 0; in icmp6_send() local
438 iif = skb->dev->ifindex; in icmp6_send()
467 fl6.flowi6_oif = iif; in icmp6_send()
Draw.c175 sk = __raw_v6_lookup(net, sk, nexthdr, daddr, saddr, IP6CB(skb)->iif); in ipv6_raw_deliver()
219 IP6CB(skb)->iif); in ipv6_raw_deliver()
368 IP6CB(skb)->iif))) { in raw6_icmp_error()
499 IP6CB(skb)->iif); in rawv6_recvmsg()
Droute.c2400 int iif, int type, u32 portid, u32 seq, in rt6_fill_node() argument
2484 if (iif) { in rt6_fill_node()
2500 if (nla_put_u32(skb, RTA_IIF, iif)) in rt6_fill_node()
2567 int err, iif = 0, oif = 0; in inet6_rtm_getroute() local
2591 iif = nla_get_u32(tb[RTA_IIF]); in inet6_rtm_getroute()
2603 fl6.flowi6_uid = iif ? INVALID_UID : current_uid(); in inet6_rtm_getroute()
2605 if (iif) { in inet6_rtm_getroute()
2609 dev = __dev_get_by_index(net, iif); in inet6_rtm_getroute()
2615 fl6.flowi6_iif = iif; in inet6_rtm_getroute()
2643 err = rt6_fill_node(net, skb, rt, &fl6.daddr, &fl6.saddr, iif, in inet6_rtm_getroute()
Dip6_input.c102 IP6CB(skb)->iif = skb_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ipv6_rcv()
Dreassembly.c144 dev = dev_get_by_index_rcu(net, fq->iif); in ip6_expire_frag_queue()
328 fq->iif = dev->ifindex; in ip6_frag_queue()
Dtcp_ipv6.c1010 treq->iif = sk->sk_bound_dev_if; in tcp_v6_conn_request()
1016 treq->iif = inet6_iif(skb); in tcp_v6_conn_request()
1201 newsk->sk_bound_dev_if = treq->iif; in tcp_v6_syn_recv_sock()
Dudp.c461 IP6CB(skb)->iif); in udpv6_recvmsg()
/net/sctp/
Dipv6.c431 addr->v6.sin6_scope_id = ((struct inet6_skb_parm *)skb->cb)->iif; in sctp_v6_from_skb()
481 __be16 port, int iif) in sctp_v6_from_addr_param() argument
487 addr->v6.sin6_scope_id = iif; in sctp_v6_from_addr_param()
707 return opt->iif; in sctp_v6_skb_iif()
800 sin6->sin6_scope_id = ev->iif; in sctp_inet6_skb_msgname()
Dulpevent.c761 event->iif = sctp_chunk_iif(chunk); in sctp_ulpevent_make_rcvmsg()
Dsm_make_chunk.c90 int iif = 0; in sctp_chunk_iif() local
94 iif = af->skb_iif(chunk->skb); in sctp_chunk_iif()
96 return iif; in sctp_chunk_iif()
Dprotocol.c281 __be16 port, int iif) in sctp_v4_from_addr_param() argument
/net/ipv4/
Dip_fragment.c77 int iif; member
218 head->dev = dev_get_by_index_rcu(net, qp->iif); in ip_expire()
325 qp->iif = 0; in ip_frag_reinit()
481 qp->iif = dev->ifindex; in ip_frag_queue()
Droute.c2347 u32 iif; in inet_rtm_getroute() local
2377 iif = tb[RTA_IIF] ? nla_get_u32(tb[RTA_IIF]) : 0; in inet_rtm_getroute()
2382 uid = (iif ? INVALID_UID : current_uid()); in inet_rtm_getroute()
2392 if (iif) { in inet_rtm_getroute()
2395 dev = __dev_get_by_index(net, iif); in inet_rtm_getroute()
Dping.c920 IP6CB(skb)->iif); in ping_recvmsg()
/net/dccp/
Dipv6.c231 fl6.flowi6_oif = ireq6->iif; in dccp_v6_send_response()
415 ireq6->iif = sk->sk_bound_dev_if; in dccp_v6_conn_request()
420 ireq6->iif = inet6_iif(skb); in dccp_v6_conn_request()
552 newsk->sk_bound_dev_if = ireq6->iif; in dccp_v6_request_recv_sock()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c325 fq->iif = skb->dev->ifindex; in nf_ct_frag6_queue()
/net/l2tp/
Dl2tp_ip6.c701 lsa->l2tp_scope_id = IP6CB(skb)->iif; in l2tp_ip6_recvmsg()
/net/decnet/
Ddn_route.c660 cb->iif = dev->ifindex; in dn_route_rcv()
1534 (rt->fld.flowidn_iif == cb->iif)) { in dn_route_input()