Searched refs:inet_rcv_saddr (Results 1 – 25 of 38) sorted by relevance
12
/linux/net/ipv4/ |
A D | datagram.c | 65 if (!inet->inet_rcv_saddr) { in __ip4_datagram_connect() 66 inet->inet_rcv_saddr = fl4->saddr; in __ip4_datagram_connect()
|
A D | ping.c | 199 (int) isk->inet_num, &isk->inet_rcv_saddr, in ping_lookup() 202 if (isk->inet_rcv_saddr && in ping_lookup() 203 isk->inet_rcv_saddr != ip_hdr(skb)->daddr) in ping_lookup() 377 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr; in ping_set_saddr() 423 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) in ping_bind() 1102 __be32 src = inet->inet_rcv_saddr; in ping_v4_format_sock()
|
A D | af_inet.c | 520 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind() 528 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind() 535 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind() 541 if (inet->inet_rcv_saddr) in __inet_bind() 785 __be32 addr = inet->inet_rcv_saddr; in inet_getname() 1255 inet->inet_saddr = inet->inet_rcv_saddr = new_saddr; in inet_sk_reselect_saddr()
|
A D | raw.c | 129 !(inet->inet_rcv_saddr && inet->inet_rcv_saddr != laddr) && in __raw_v4_lookup() 738 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind() 1051 src = inet->inet_rcv_saddr; in raw_sock_seq_show()
|
A D | inet_hashtables.c | 191 inet_sk(sk)->inet_rcv_saddr, in inet_lhash2_bucket_sk() 447 __be32 daddr = inet->inet_rcv_saddr; in __inet_check_established() 511 return secure_ipv4_port_ephemeral(inet->inet_rcv_saddr, in inet_sk_port_offset()
|
A D | inet_timewait_sock.c | 172 tw->tw_rcv_saddr = inet->inet_rcv_saddr; in inet_twsk_alloc()
|
A D | udp.c | 349 ipv4_portaddr_hash(sock_net(sk), inet_sk(sk)->inet_rcv_saddr, 0); in udp_v4_get_port() 583 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock() 2075 inet_sk(sk)->inet_rcv_saddr, in udp_v4_rehash() 3058 __be32 src = inet->inet_rcv_saddr; in udp4_format_sock()
|
/linux/net/l2tp/ |
A D | l2tp_ip.c | 60 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()
|
A D | l2tp_ip6.c | 339 inet->inet_rcv_saddr = v4addr; in l2tp_ip6_bind()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_tracing_net.h | 33 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
|
A D | bpf_iter_udp4.c | 52 src = inet->inet_rcv_saddr; in dump_udp4()
|
A D | bpf_iter_tcp4.c | 94 src = inet->inet_rcv_saddr; in dump_tcp_sock()
|
/linux/net/ipv4/netfilter/ |
A D | nf_tproxy_ipv4.c | 125 int wildcard = (inet_sk(sk)->inet_rcv_saddr == 0); in nf_tproxy_get_sock_v4()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | fs_tcp.c | 40 &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()
|
A D | tls.c | 47 &inet->inet_rcv_saddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); in mlx5e_tls_set_ipv4_flow()
|
/linux/net/netfilter/ |
A D | nft_socket.c | 24 nft_reg_store8(dest, inet_sk(sk)->inet_rcv_saddr == 0); in nft_socket_wildcard()
|
A D | xt_socket.c | 70 inet_sk(sk)->inet_rcv_saddr == 0); in socket_match()
|
A D | nf_conntrack_proto.c | 261 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
|
/linux/include/net/ |
A D | inet_sock.h | 203 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
|
/linux/net/ipv6/ |
A D | datagram.c | 101 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in ip6_datagram_dst_update() 205 ipv6_addr_set_v4mapped(inet->inet_rcv_saddr, in __ip6_datagram_connect()
|
/linux/net/dccp/ |
A D | ipv6.c | 544 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock() 943 inet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_connect()
|
/linux/security/ |
A D | lsm_audit.c | 333 print_ipv4_addr(ab, inet->inet_rcv_saddr, in dump_common_audit_data()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A 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() 1192 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
|
A D | chtls_main.c | 94 LOOPBACK(inet_sk(sk)->inet_rcv_saddr)) in chtls_start_listen()
|
/linux/net/sctp/ |
A 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()
|
Completed in 45 milliseconds
12