/linux-6.1.9/net/ipv4/ |
D | datagram.c | 66 if (!inet->inet_rcv_saddr) { in __ip4_datagram_connect() 67 inet->inet_rcv_saddr = fl4->saddr; in __ip4_datagram_connect()
|
D | ping.c | 210 (int) isk->inet_num, &isk->inet_rcv_saddr, in ping_lookup() 213 if (isk->inet_rcv_saddr && in ping_lookup() 214 isk->inet_rcv_saddr != ip_hdr(skb)->daddr) in ping_lookup() 410 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr; in ping_set_saddr() 456 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) in ping_bind() 1135 __be32 src = inet->inet_rcv_saddr; in ping_v4_format_sock()
|
D | raw.c | 126 !(inet->inet_rcv_saddr && inet->inet_rcv_saddr != laddr) && in raw_v4_match() 712 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind() 1020 src = inet->inet_rcv_saddr; in raw_sock_seq_show()
|
D | af_inet.c | 518 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind() 527 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind() 533 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind() 541 if (inet->inet_rcv_saddr) in __inet_bind() 793 __be32 addr = inet->inet_rcv_saddr; in inet_getname()
|
D | inet_timewait_sock.c | 196 tw->tw_rcv_saddr = inet->inet_rcv_saddr; in inet_twsk_alloc()
|
D | inet_hashtables.c | 307 inet_sk(sk)->inet_rcv_saddr, in inet_lhash2_bucket_sk() 524 __be32 daddr = inet->inet_rcv_saddr; in __inet_check_established() 587 return secure_ipv4_port_ephemeral(inet->inet_rcv_saddr, in inet_sk_port_offset()
|
D | udp.c | 352 ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); in udp_v4_get_port() 586 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock() 2070 inet_sk(sk)->inet_rcv_saddr, in udp_v4_rehash() 3078 __be32 src = inet->inet_rcv_saddr; in udp4_format_sock()
|
D | ip_sockglue.c | 1720 info.ipi_addr.s_addr = inet->inet_rcv_saddr; in do_ip_getsockopt() 1721 info.ipi_spec_dst.s_addr = inet->inet_rcv_saddr; in do_ip_getsockopt()
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_ip.c | 62 if (inet->inet_rcv_saddr && laddr && in __l2tp_ip_bind_lookup() 63 inet->inet_rcv_saddr != laddr) in __l2tp_ip_bind_lookup() 277 inet->inet_rcv_saddr = addr->l2tp_addr.s_addr; in l2tp_ip_bind() 367 __be32 addr = inet->inet_rcv_saddr; in l2tp_ip_getname()
|
D | l2tp_ip6.c | 341 inet->inet_rcv_saddr = v4addr; in l2tp_ip6_bind()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_udp4.c | 52 src = inet->inet_rcv_saddr; in dump_udp4()
|
D | bpf_tracing_net.h | 62 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
|
D | bpf_iter_tcp4.c | 94 src = inet->inet_rcv_saddr; in dump_tcp_sock()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 123 int wildcard = (inet_sk(sk)->inet_rcv_saddr == 0); in nf_tproxy_get_sock_v4()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | fs_tcp.c | 40 &inet_sk(sk)->inet_rcv_saddr, 4); in accel_fs_tcp_set_ipv4_flow() 96 &inet_sk(sk)->inet_rcv_saddr, in mlx5e_accel_fs_add_sk()
|
/linux-6.1.9/net/netfilter/ |
D | xt_socket.c | 70 inet_sk(sk)->inet_rcv_saddr == 0); in socket_match()
|
D | nft_socket.c | 25 nft_reg_store8(dest, inet_sk(sk)->inet_rcv_saddr == 0); in nft_socket_wildcard()
|
D | nf_conntrack_proto.c | 261 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
|
/linux-6.1.9/include/net/ |
D | inet_sock.h | 216 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
|
/linux-6.1.9/security/ |
D | lsm_audit.c | 321 print_ipv4_addr(ab, inet->inet_rcv_saddr, in dump_common_audit_data()
|
/linux-6.1.9/net/ipv6/ |
D | datagram.c | 106 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in ip6_datagram_dst_update() 210 ipv6_addr_set_v4mapped(inet->inet_rcv_saddr, in __ip6_datagram_connect()
|
/linux-6.1.9/net/dccp/ |
D | ipv6.c | 544 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock() 946 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_connect()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 106 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() 1191 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
|
D | chtls_main.c | 94 LOOPBACK(inet_sk(sk)->inet_rcv_saddr)) in chtls_start_listen()
|
/linux-6.1.9/net/sctp/ |
D | protocol.c | 239 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()
|