/linux/net/ipv4/ |
A D | datagram.c | 39 saddr = inet->inet_saddr; in __ip4_datagram_connect() 63 if (!inet->inet_saddr) in __ip4_datagram_connect() 64 inet->inet_saddr = fl4->saddr; /* Update source address */ in __ip4_datagram_connect() 119 inet->inet_saddr, inet->inet_dport, in ip4_datagram_release_cb()
|
A D | af_inet.c | 520 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind() 522 inet->inet_saddr = 0; /* Use device */ 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() 787 addr = inet->inet_saddr; in inet_getname() 1223 __be32 old_saddr = inet->inet_saddr; in inet_sk_reselect_saddr() 1255 inet->inet_saddr = inet->inet_rcv_saddr = new_saddr; in inet_sk_reselect_saddr() 1289 rt = ip_route_output_ports(sock_net(sk), fl4, sk, daddr, inet->inet_saddr, in inet_sk_rebuild_header()
|
A D | tcp_ipv4.c | 229 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in tcp_v4_connect() 248 if (!inet->inet_saddr) in tcp_v4_connect() 249 inet->inet_saddr = fl4->saddr; in tcp_v4_connect() 250 sk_rcv_saddr_set(sk, inet->inet_saddr); in tcp_v4_connect() 296 secure_tcp_seq(inet->inet_saddr, in tcp_v4_connect() 301 inet->inet_saddr, in tcp_v4_connect() 644 __tcp_v4_send_check(skb, inet->inet_saddr, inet->inet_daddr); in tcp_v4_send_check() 1576 newinet->inet_saddr = ireq->ir_loc_addr; in tcp_v4_syn_recv_sock()
|
A D | tcp_metrics.c | 281 inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); in tcp_get_metrics() 288 inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); in tcp_get_metrics()
|
A D | raw.c | 738 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind() 740 inet->inet_saddr = 0; /* Use device */ in raw_bind()
|
/linux/include/trace/events/ |
A D | sock.h | 173 *p32 = inet->inet_saddr; 188 ipv6_addr_set_v4mapped(inet->inet_saddr, pin6); 234 *p32 = inet->inet_saddr; 249 ipv6_addr_set_v4mapped(inet->inet_saddr, pin6);
|
A D | tcp.h | 82 *p32 = inet->inet_saddr; 87 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr, 150 *p32 = inet->inet_saddr; 155 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
|
A D | net_probe_common.h | 12 v4->sin_addr.s_addr = inet->inet_saddr; \
|
/linux/net/dccp/ |
A D | ipv4.c | 78 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect() 93 if (inet->inet_saddr == 0) in dccp_v4_connect() 94 inet->inet_saddr = fl4->saddr; in dccp_v4_connect() 95 sk_rcv_saddr_set(sk, inet->inet_saddr); in dccp_v4_connect() 123 dp->dccps_iss = secure_dccp_sequence_number(inet->inet_saddr, in dccp_v4_connect() 381 inet->inet_saddr, in dccp_v4_send_check() 422 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
|
A D | ipv6.c | 543 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tcp_estats.c | 85 __be32 inet_saddr; member 223 &inet_sk(sk)->inet_saddr, in tcp_estats_conn_id_init()
|
/linux/net/l2tp/ |
A D | l2tp_ip.c | 276 inet->inet_saddr = addr->l2tp_addr.s_addr; in l2tp_ip_bind() 279 inet->inet_saddr = 0; /* Use device */ in l2tp_ip_bind() 368 addr = inet->inet_saddr; in l2tp_ip_getname() 477 daddr, inet->inet_saddr, in l2tp_ip_sendmsg()
|
A D | l2tp_debugfs.c | 156 &inet->inet_saddr, &inet->inet_daddr); in l2tp_dfs_seq_tunnel_show()
|
A D | l2tp_ip6.c | 338 inet->inet_saddr = v4addr; in l2tp_ip6_bind()
|
A D | l2tp_netlink.c | 358 if (nla_put_in_addr(skb, L2TP_ATTR_IP_SADDR, inet->inet_saddr) || in l2tp_nl_tunnel_send_addr4()
|
/linux/net/rds/ |
A D | tcp_listen.c | 144 ipv6_addr_set_v4mapped(inet->inet_saddr, &saddr); in rds_tcp_accept_one()
|
A D | tcp.c | 250 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info()
|
/linux/include/net/ |
A D | inet_sock.h | 207 __be32 inet_saddr; member
|
A D | ip.h | 97 ipcm->addr = inet->inet_saddr; in ipcm_init_sk() 646 inet_sk(sk)->inet_rcv_saddr = inet_sk(sk)->inet_saddr = 0; in inet_reset_saddr()
|
/linux/fs/ocfs2/cluster/ |
A D | netdebug.c | 307 saddr = (__force __be32)inet->inet_saddr; in sc_show_sock_container()
|
/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
A D | tls.c | 186 req->dst_ip = inet->inet_saddr; in nfp_net_tls_set_ipv4()
|
/linux/net/mptcp/ |
A D | sockopt.c | 854 a->sin_local.sin_addr.s_addr = inet->inet_saddr; in mptcp_get_sub_addrs()
|
/linux/net/ipv6/ |
A D | af_inet6.c | 394 inet->inet_saddr = v4addr; in __inet6_bind()
|
A D | datagram.c | 201 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); in __ip6_datagram_connect()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_cm.c | 1193 newinet->inet_saddr = iph->daddr; in chtls_recv_sock() 1211 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()
|