Home
last modified time | relevance | path

Searched refs:sdif (Results 1 – 17 of 17) sorted by relevance

/linux/net/sctp/
H A Dinput.c54 int dif, int sdif);
59 int dif, int sdif);
65 int dif, int sdif);
102 int dif, sdif; in sctp_rcv() local
148 sdif = af->skb_sdif(skb); in sctp_rcv()
165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv()
168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); in sctp_rcv()
473 int sdif = inet_sdif(skb); in sctp_err_lookup() local
490 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport, dif, sdif); in sctp_err_lookup()
844 int dif, int sdif) in __sctp_rcv_lookup_endpoint() argument
984 sctp_sk_bound_dev_eq(struct net * net,int bound_dev_if,int dif,int sdif) sctp_sk_bound_dev_eq() argument
999 sctp_addrs_lookup_transport(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_addrs_lookup_transport() argument
1057 __sctp_lookup_association(struct net * net,const union sctp_addr * local,const union sctp_addr * peer,struct sctp_transport ** pt,int dif,int sdif) __sctp_lookup_association() argument
1079 sctp_lookup_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,struct sctp_transport ** transportp,int dif,int sdif) sctp_lookup_association() argument
1094 sctp_has_association(struct net * net,const union sctp_addr * laddr,const union sctp_addr * paddr,int dif,int sdif) sctp_has_association() argument
1127 __sctp_rcv_init_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_init_lookup() argument
1194 __sctp_rcv_asconf_lookup(struct net * net,struct sctp_chunkhdr * ch,const union sctp_addr * laddr,__be16 peer_port,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_asconf_lookup() argument
1231 __sctp_rcv_walk_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_walk_lookup() argument
1300 __sctp_rcv_lookup_harder(struct net * net,struct sk_buff * skb,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup_harder() argument
1335 __sctp_rcv_lookup(struct net * net,struct sk_buff * skb,const union sctp_addr * paddr,const union sctp_addr * laddr,struct sctp_transport ** transportp,int dif,int sdif) __sctp_rcv_lookup() argument
[all...]
H A Dendpointola.c251 int dif, int sdif) in sctp_endpoint_is_match() argument
257 sctp_sk_bound_dev_eq(net, bound_dev_if, dif, sdif) && in sctp_endpoint_is_match()
/linux/include/net/
H A Dinet6_hashtables.h50 const int sdif);
74 const int dif, const int sdif);
91 const int dif, const int sdif, in __inet6_lookup() argument
96 dif, sdif); in __inet6_lookup()
102 daddr, hnum, dif, sdif); in __inet6_lookup()
148 int iif, int sdif, in __inet6_lookup_skb() argument
164 iif, sdif, refcounted); in __inet6_lookup_skb()
176 const int dif, const int sdif) in inet6_match() argument
187 sdif); in inet6_match()
H A Dinet_hashtables.h315 const int dif, const int sdif);
321 int dif, int sdif) in inet_lookup_listener() argument
324 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
358 int dif, int sdif) in inet_match() argument
367 sdif); in inet_match()
376 const int dif, const int sdif);
412 const int dif, const int sdif, in __inet_lookup() argument
419 daddr, hnum, dif, sdif); in __inet_lookup()
425 sport, daddr, hnum, dif, sdif); in __inet_lookup()
489 const int sdif, in __inet_lookup_skb() argument
[all …]
H A Drawv6.h11 const struct in6_addr *rmt_addr, int dif, int sdif);
H A Dtcp.h3075 int family, int dif, int sdif); in tcp_ao_required()
/linux/net/ipv6/
H A Dinet6_hashtables.c89 const int dif, const int sdif) in __inet6_lookup_established() argument
106 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif)) in __inet6_lookup_established()
111 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) { in __inet6_lookup_established()
129 const int dif, const int sdif) in compute_score() argument
139 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
190 const unsigned short hnum, const int dif, const int sdif) in inet6_lhash2_lookup() argument
197 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet6_lhash2_lookup()
243 const int dif, const int sdif) in inet6_lookup_listener() argument
265 dif, sdif); in inet6_lookup_listener()
275 dif, sdif); in inet6_lookup_listener()
[all …]
H A Dip6_input.c443 int sdif = inet6_sdif(skb); in ip6_protocol_deliver_rcu() local
455 if (sdif) { in ip6_protocol_deliver_rcu()
456 dev = dev_get_by_index_rcu(net, sdif); in ip6_protocol_deliver_rcu()
557 int sdif = inet6_sdif(skb); in ip6_mc_input() local
566 if (sdif) { in ip6_mc_input()
567 dev = dev_get_by_index_rcu(dev_net_rcu(dev), sdif); in ip6_mc_input()
H A Dtcp_ipv6.c1045 /* sdif set, means packet ingressed via a device in tcp_v6_send_reset()
1054 int sdif = tcp_v6_sdif(skb); in tcp_v6_send_reset()
1066 dif, sdif); in tcp_v6_send_reset()
1070 /* sdif set, means packet ingressed via a device in tcp_v6_send_reset()
1733 int sdif = inet6_sdif(skb);
1771 th->source, th->dest, inet6_iif(skb), sdif,
1790 AF_INET6, dif, sdif);
1874 AF_INET6, dif, sdif);
1969 sdif);
1039 int sdif = tcp_v6_sdif(skb); tcp_v6_send_reset() local
1718 int sdif = inet6_sdif(skb); global() local
/linux/net/ipv4/
H A Dinet_hashtables.c354 const int dif, const int sdif) in compute_score()
363 if (!inet_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in compute_score()
421 const int dif, const int sdif) in inet_lhash2_lookup()
428 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
469 const int dif, const int sdif) in __inet_lookup_listener()
491 dif, sdif); in __inet_lookup_listener()
501 dif, sdif); in __inet_lookup_listener()
533 const int dif, const int sdif) in __inet_lookup_established()
552 if (likely(inet_match(net, sk, acookie, ports, dif, sdif))) { in __inet_lookup_established()
556 ports, dif, sdif))) { in __inet_lookup_established()
356 compute_score(struct sock * sk,const struct net * net,const unsigned short hnum,const __be32 daddr,const int dif,const int sdif) compute_score() argument
423 inet_lhash2_lookup(const struct net * net,struct inet_listen_hashbucket * ilb2,struct sk_buff * skb,int doff,const __be32 saddr,__be16 sport,const __be32 daddr,const unsigned short hnum,const int dif,const int sdif) inet_lhash2_lookup() argument
471 __inet_lookup_listener(const struct net * net,struct sk_buff * skb,int doff,const __be32 saddr,__be16 sport,const __be32 daddr,const unsigned short hnum,const int dif,const int sdif) __inet_lookup_listener() argument
535 __inet_lookup_established(const struct net * net,const __be32 saddr,const __be16 sport,const __be32 daddr,const u16 hnum,const int dif,const int sdif) __inet_lookup_established() argument
592 int sdif = l3mdev_master_ifindex_by_index(net, dif); __inet_check_established() local
674 const int sdif = sk->sk_bound_dev_if; inet_ehash_lookup_by_sk() local
[all...]
H A Dudp.c364 unsigned short hnum, int dif, int sdif) in compute_score() argument
394 dif, sdif); in compute_score()
437 int dif, int sdif, in udp4_lib_lookup1() argument
447 saddr, sport, daddr, hnum, dif, sdif); in udp4_lib_lookup1()
461 int dif, int sdif, in udp4_lib_lookup2() argument
475 sport, daddr, hnum, dif, sdif); in udp4_lib_lookup2()
519 int dif, int sdif, in udp4_lib_lookup4() argument
537 int dif, int sdif, in udp4_lib_lookup4() argument
556 if (inet_match(net, sk, acookie, ports, dif, sdif)) in udp4_lib_lookup4()
669 int dif, int sdif, struct sk_buff *skb) in __udp4_lib_lookup() argument
[all …]
H A Draw.c118 __be32 raddr, __be32 laddr, int dif, int sdif)
125 raw_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif)) in raw_v4_match()
164 int sdif = inet_sdif(skb); in raw_v4_input()
174 iph->saddr, iph->daddr, dif, sdif)) in raw_v4_input()
186 skb->dev->ifindex, sdif)) { in raw_v4_input()
274 int sdif = inet_sdif(skb); in raw_icmp_error()
287 iph->daddr, iph->saddr, dif, sdif)) in raw_icmp_error()
120 raw_v4_match(struct net * net,const struct sock * sk,unsigned short num,__be32 raddr,__be32 laddr,int dif,int sdif) raw_v4_match() argument
166 int sdif = inet_sdif(skb); raw_v4_input() local
276 int sdif = inet_sdif(skb); raw_icmp_error() local
H A Dtcp_ipv4.c666 int sdif = tcp_v4_sdif(skb); in tcp_v4_ao_sign_reset() local
668 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset()
782 /* sdif set, means packet ingressed via a device in tcp_v4_send_reset()
790 int sdif = tcp_v4_sdif(skb); in tcp_v4_send_reset() local
803 ntohs(th->source), dif, sdif); in tcp_v4_send_reset()
808 /* sdif set, means packet ingressed via a device in tcp_v4_send_reset()
811 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
2072 int sdif = inet_sdif(skb);
2112 th->dest, sdif, &refcounted);
2130 AF_INET, dif, sdif);
2073 int sdif = inet_sdif(skb); global() local
[all...]
H A Dudp_offload.c854 int iif, sdif; in udp4_gro_lookup_skb() local
860 inet_get_iif_sdif(skb, &iif, &sdif); in udp4_gro_lookup_skb()
863 iph->daddr, dport, iif, sdif, NULL); in udp4_gro_lookup_skb()
H A Digmp.c2752 int dif, int sdif) in ip_mc_sf_allow()
2768 (sdif && pmc->multi.imr_ifindex == sdif))) in ip_mc_sf_allow()
2748 ip_mc_sf_allow(const struct sock * sk,__be32 loc_addr,__be32 rmt_addr,int dif,int sdif) ip_mc_sf_allow() argument
H A Dtcp.c5017 int family, int dif, int sdif) in tcp_inbound_hash()
5048 /* sdif set, means packet ingressed via a device in tcp_inbound_hash()
5051 l3index = sdif ? dif : 0; in tcp_inbound_hash()
5020 tcp_inbound_hash(struct sock * sk,const struct request_sock * req,const struct sk_buff * skb,const void * saddr,const void * daddr,int family,int dif,int sdif) tcp_inbound_hash() argument
/linux/net/core/
H A Dfilter.c6991 int dif, int sdif, u8 family, u8 proto) in __bpf_skc_lookup()
7004 dif, sdif, &refcounted); in __bpf_sk_lookup()
7008 dif, sdif, NULL); in __bpf_sk_lookup()
7018 dif, sdif, &refcounted); in __bpf_sk_lookup()
7022 dif, sdif, NULL); in __bpf_sk_lookup()
7039 u64 flags, int sdif) in bpf_skc_lookup()
7055 if (sdif < 0) { in bpf_sk_lookup()
7057 sdif = inet_sdif(skb); in bpf_sk_lookup()
7059 sdif = inet6_sdif(skb); in bpf_sk_lookup()
7064 sk = sk_lookup(net, tuple, ifindex, sdif, famil in bpf_sk_lookup()
6909 sk_lookup(struct net * net,struct bpf_sock_tuple * tuple,int dif,int sdif,u8 family,u8 proto) sk_lookup() argument
6957 __bpf_skc_lookup(struct sk_buff * skb,struct bpf_sock_tuple * tuple,u32 len,struct net * caller_net,u32 ifindex,u8 proto,u64 netns_id,u64 flags,int sdif) __bpf_skc_lookup() argument
6998 __bpf_sk_lookup(struct sk_buff * skb,struct bpf_sock_tuple * tuple,u32 len,struct net * caller_net,u32 ifindex,u8 proto,u64 netns_id,u64 flags,int sdif) __bpf_sk_lookup() argument
7131 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
7155 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
7179 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
7217 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
7241 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
7265 int ifindex = dev->ifindex, sdif = dev_sdif(dev); BPF_CALL_5() local
[all...]