Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
A Ddatagram.c65 if (!inet->inet_rcv_saddr) { in __ip4_datagram_connect()
66 inet->inet_rcv_saddr = fl4->saddr; in __ip4_datagram_connect()
A Dping.c199 (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 Daf_inet.c520 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 Draw.c129 !(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 Dinet_hashtables.c191 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 Dinet_timewait_sock.c172 tw->tw_rcv_saddr = inet->inet_rcv_saddr; in inet_twsk_alloc()
A Dudp.c349 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 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()
A Dl2tp_ip6.c339 inet->inet_rcv_saddr = v4addr; in l2tp_ip6_bind()
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_tracing_net.h33 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
A Dbpf_iter_udp4.c52 src = inet->inet_rcv_saddr; in dump_udp4()
A Dbpf_iter_tcp4.c94 src = inet->inet_rcv_saddr; in dump_tcp_sock()
/linux/net/ipv4/netfilter/
A Dnf_tproxy_ipv4.c125 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 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()
A Dtls.c47 &inet->inet_rcv_saddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); in mlx5e_tls_set_ipv4_flow()
/linux/net/netfilter/
A Dnft_socket.c24 nft_reg_store8(dest, inet_sk(sk)->inet_rcv_saddr == 0); in nft_socket_wildcard()
A Dxt_socket.c70 inet_sk(sk)->inet_rcv_saddr == 0); in socket_match()
A Dnf_conntrack_proto.c261 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
/linux/include/net/
A Dinet_sock.h203 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
/linux/net/ipv6/
A 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()
/linux/net/dccp/
A Dipv6.c544 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 Dlsm_audit.c333 print_ipv4_addr(ab, inet->inet_rcv_saddr, in dump_common_audit_data()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A 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()
A Dchtls_main.c94 LOOPBACK(inet_sk(sk)->inet_rcv_saddr)) in chtls_start_listen()
/linux/net/sctp/
A 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()

Completed in 39 milliseconds

12