Home
last modified time | relevance | path

Searched refs:inet_saddr (Results 1 – 25 of 40) sorted by relevance

12

/linux/net/ipv4/
H A Ddatagram.c39 saddr = inet->inet_saddr; in __ip4_datagram_connect()
64 if (!inet->inet_saddr) in __ip4_datagram_connect()
65 inet->inet_saddr = fl4->saddr; /* Update source address */ in __ip4_datagram_connect()
120 inet->inet_saddr, inet->inet_dport, in ip4_datagram_release_cb()
H A Daf_inet.c531 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind()
533 inet->inet_saddr = 0; /* Use device */ in __inet_bind()
540 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
546 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
821 addr = inet->inet_saddr; in inet_getname()
1258 __be32 old_saddr = inet->inet_saddr; in inet_sk_reselect_saddr()
1331 rt = ip_route_output_ports(sock_net(sk), fl4, sk, daddr, inet->inet_saddr, in inet_sk_rebuild_header()
H A Dtcp_ipv4.c250 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in tcp_v4_connect()
270 if (!inet->inet_saddr) { in tcp_v4_connect()
277 sk_rcv_saddr_set(sk, inet->inet_saddr); in tcp_v4_connect()
325 secure_tcp_seq(inet->inet_saddr, in tcp_v4_connect()
330 secure_tcp_ts_off(net, inet->inet_saddr, in tcp_v4_connect()
675 __tcp_v4_send_check(skb, inet->inet_saddr, inet->inet_daddr); in tcp_v4_send_check()
1773 newinet->inet_saddr = ireq->ir_loc_addr;
H A Dtcp_metrics.c301 inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); in tcp_get_metrics()
308 inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); in tcp_get_metrics()
H A Draw.c724 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind()
726 inet->inet_saddr = 0; /* Use device */ in raw_bind()
H A Dinet_hashtables.c880 inet_sk(sk)->inet_saddr = *(__be32 *)saddr; in inet_update_saddr()
881 sk_rcv_saddr_set(sk, inet_sk(sk)->inet_saddr); in inet_update_saddr()
/linux/include/trace/events/
H A Dsock.h175 *p32 = inet->inet_saddr;
180 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
223 *p32 = inet->inet_saddr;
228 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
H A Dtcp.h54 *p32 = inet->inet_saddr;
59 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
176 *p32 = inet->inet_saddr;
181 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
395 *p32 = inet->inet_saddr;
400 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
H A Dnet_probe_common.h12 v4->sin_addr.s_addr = inet->inet_saddr; \
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_estats.c85 __be32 inet_saddr; member
223 &inet_sk(sk)->inet_saddr, in tcp_estats_conn_id_init()
/linux/net/dccp/
H A Dipv4.c79 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect()
93 if (inet->inet_saddr == 0) { in dccp_v4_connect()
100 sk_rcv_saddr_set(sk, inet->inet_saddr); in dccp_v4_connect()
130 dp->dccps_iss = secure_dccp_sequence_number(inet->inet_saddr, in dccp_v4_connect()
389 inet->inet_saddr, in dccp_v4_send_check()
430 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
/linux/net/l2tp/
H A Dl2tp_ip.c301 inet->inet_saddr = addr->l2tp_addr.s_addr; in l2tp_ip_bind()
304 inet->inet_saddr = 0; /* Use device */ in l2tp_ip_bind()
395 addr = inet->inet_saddr; in l2tp_ip_getname()
504 daddr, inet->inet_saddr, in l2tp_ip_sendmsg()
H A Dl2tp_debugfs.c153 &inet->inet_saddr, &inet->inet_daddr); in l2tp_dfs_seq_tunnel_show()
H A Dl2tp_ip6.c362 inet->inet_saddr = v4addr; in l2tp_ip6_bind()
H A Dl2tp_netlink.c359 if (nla_put_in_addr(skb, L2TP_ATTR_IP_SADDR, inet->inet_saddr) || in l2tp_nl_tunnel_send_addr4()
/linux/Documentation/networking/net_cachelines/
H A Dinet_sock.rst17 be32 inet_saddr - -
/linux/net/rds/
H A Dtcp_listen.c152 ipv6_addr_set_v4mapped(inet->inet_saddr, &saddr); in rds_tcp_accept_one()
H A Dtcp.c249 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info()
/linux/include/net/
H A Dinet_sock.h223 __be32 inet_saddr; member
H A Dip.h101 ipcm->addr = inet->inet_saddr; in ipcm_init_sk()
669 inet_sk(sk)->inet_rcv_saddr = inet_sk(sk)->inet_saddr = 0; in inet_reset_saddr()
/linux/fs/ocfs2/cluster/
H A Dnetdebug.c307 saddr = (__force __be32)inet->inet_saddr; in sc_show_sock_container()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c186 req->dst_ip = inet->inet_saddr; in nfp_net_tls_set_ipv4()
/linux/net/mptcp/
H A Dpm_userspace.c440 if (issk->inet_saddr != local->addr.s_addr || in mptcp_nl_find_ssk()
/linux/net/ipv6/
H A Ddatagram.c208 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); in __ip6_datagram_connect()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1192 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()
1210 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()

12