Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c210 (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()
Draw.c126 !(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()
Daf_inet.c518 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()
Dinet_timewait_sock.c196 tw->tw_rcv_saddr = inet->inet_rcv_saddr; in inet_twsk_alloc()
Dinet_hashtables.c307 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()
Dudp.c352 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()
Dip_sockglue.c1720 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/
Dl2tp_ip.c62 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()
Dl2tp_ip6.c341 inet->inet_rcv_saddr = v4addr; in l2tp_ip6_bind()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter_udp4.c52 src = inet->inet_rcv_saddr; in dump_udp4()
Dbpf_tracing_net.h62 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
Dbpf_iter_tcp4.c94 src = inet->inet_rcv_saddr; in dump_tcp_sock()
/linux-6.1.9/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c123 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/
Dfs_tcp.c40 &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/
Dxt_socket.c70 inet_sk(sk)->inet_rcv_saddr == 0); in socket_match()
Dnft_socket.c25 nft_reg_store8(dest, inet_sk(sk)->inet_rcv_saddr == 0); in nft_socket_wildcard()
Dnf_conntrack_proto.c261 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
/linux-6.1.9/include/net/
Dinet_sock.h216 #define inet_rcv_saddr sk.__sk_common.skc_rcv_saddr macro
/linux-6.1.9/security/
Dlsm_audit.c321 print_ipv4_addr(ab, inet->inet_rcv_saddr, in dump_common_audit_data()
/linux-6.1.9/net/ipv6/
Ddatagram.c106 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/
Dipv6.c544 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/
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()
1191 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
Dchtls_main.c94 LOOPBACK(inet_sk(sk)->inet_rcv_saddr)) in chtls_start_listen()
/linux-6.1.9/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