Home
last modified time | relevance | path

Searched refs:inet_rcv_saddr (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/net/ipv4/
Ddatagram.c66 if (!inet->inet_rcv_saddr) { in __ip4_datagram_connect()
67 inet->inet_rcv_saddr = fl4->saddr; in __ip4_datagram_connect()
Dping.c205 (int) isk->inet_num, &isk->inet_rcv_saddr, in ping_lookup()
208 if (isk->inet_rcv_saddr && in ping_lookup()
209 isk->inet_rcv_saddr != ip_hdr(skb)->daddr) in ping_lookup()
395 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr; in ping_set_saddr()
441 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) in ping_bind()
1118 __be32 src = inet->inet_rcv_saddr; in ping_v4_format_sock()
Draw.c129 !(inet->inet_rcv_saddr && inet->inet_rcv_saddr != laddr) && in __raw_v4_lookup()
739 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind()
1054 src = inet->inet_rcv_saddr; in raw_sock_seq_show()
Daf_inet.c524 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind()
532 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
539 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
545 if (inet->inet_rcv_saddr) in __inet_bind()
790 __be32 addr = inet->inet_rcv_saddr; in inet_getname()
1264 inet->inet_saddr = inet->inet_rcv_saddr = new_saddr; in inet_sk_reselect_saddr()
Dinet_hashtables.c200 inet_sk(sk)->inet_rcv_saddr, in inet_lhash2_bucket_sk()
454 __be32 daddr = inet->inet_rcv_saddr; in __inet_check_established()
517 return secure_ipv4_port_ephemeral(inet->inet_rcv_saddr, in inet_sk_port_offset()
Dinet_timewait_sock.c172 tw->tw_rcv_saddr = inet->inet_rcv_saddr; in inet_twsk_alloc()
Dudp.c350 ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); in udp_v4_get_port()
585 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock()
2023 inet_sk(sk)->inet_rcv_saddr, in udp_v4_rehash()
2994 __be32 src = inet->inet_rcv_saddr; in udp4_format_sock()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip.c60 if (inet->inet_rcv_saddr && laddr && in __l2tp_ip_bind_lookup()
61 inet->inet_rcv_saddr != laddr) in __l2tp_ip_bind_lookup()
275 inet->inet_rcv_saddr = addr->l2tp_addr.s_addr; in l2tp_ip_bind()
365 __be32 addr = inet->inet_rcv_saddr; in l2tp_ip_getname()
Dl2tp_ip6.c339 inet->inet_rcv_saddr = v4addr; in l2tp_ip6_bind()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_tracing_net.h25 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
Dbpf_iter_udp4.c53 src = inet->inet_rcv_saddr; in dump_udp4()
Dbpf_iter_tcp4.c95 src = inet->inet_rcv_saddr; in dump_tcp_sock()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c125 int wildcard = (inet_sk(sk)->inet_rcv_saddr == 0); in nf_tproxy_get_sock_v4()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_socket.c23 nft_reg_store8(dest, inet_sk(sk)->inet_rcv_saddr == 0); in nft_socket_wildcard()
Dxt_socket.c70 inet_sk(sk)->inet_rcv_saddr == 0); in socket_match()
Dnf_conntrack_proto.c248 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c40 &inet_sk(sk)->inet_rcv_saddr, 4); in accel_fs_tcp_set_ipv4_flow()
98 &inet_sk(sk)->inet_rcv_saddr, in mlx5e_accel_fs_add_sk()
Dtls.c47 &inet->inet_rcv_saddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); in mlx5e_tls_set_ipv4_flow()
/kernel/linux/linux-5.10/include/net/
Dinet_sock.h216 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
/kernel/linux/linux-5.10/security/
Dlsm_audit.c338 print_ipv4_addr(ab, inet->inet_rcv_saddr, in dump_common_audit_data()
/kernel/linux/linux-5.10/net/ipv6/
Ddatagram.c101 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in ip6_datagram_dst_update()
205 ipv6_addr_set_v4mapped(inet->inet_rcv_saddr, in __ip6_datagram_connect()
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c534 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
933 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_connect()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c106 if (likely(!inet_sk(sk)->inet_rcv_saddr)) in chtls_find_netdev()
108 ndev = __ip_dev_find(&init_net, inet_sk(sk)->inet_rcv_saddr, false); in chtls_find_netdev()
689 inet_sk(sk)->inet_rcv_saddr, in chtls_listen_start()
1192 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
Dchtls_main.c94 LOOPBACK(inet_sk(sk)->inet_rcv_saddr)) in chtls_start_listen()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c239 addr->v4.sin_addr.s_addr = inet_sk(sk)->inet_rcv_saddr; in sctp_v4_from_sk()
246 inet_sk(sk)->inet_rcv_saddr = addr->v4.sin_addr.s_addr; in sctp_v4_to_sk_saddr()

12