Home
last modified time | relevance | path

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

12

/Linux-v5.10/net/ipv4/
Ddatagram.c40 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()
Daf_inet.c521 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in __inet_bind()
523 inet->inet_saddr = 0; /* Use device */ in __inet_bind()
529 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
536 inet->inet_saddr = inet->inet_rcv_saddr = 0; in __inet_bind()
783 addr = inet->inet_saddr; in inet_getname()
1221 __be32 old_saddr = inet->inet_saddr; in inet_sk_reselect_saddr()
1253 inet->inet_saddr = inet->inet_rcv_saddr = new_saddr; in inet_sk_reselect_saddr()
1287 rt = ip_route_output_ports(sock_net(sk), fl4, sk, daddr, inet->inet_saddr, in inet_sk_rebuild_header()
Dtcp_ipv4.c229 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()
641 __tcp_v4_send_check(skb, inet->inet_saddr, inet->inet_daddr); in tcp_v4_send_check()
1534 newinet->inet_saddr = ireq->ir_loc_addr; in tcp_v4_syn_recv_sock()
Dtcp_metrics.c281 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()
Draw.c738 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()
Dinet_connection_sock.c1083 inet->inet_saddr, inet->inet_dport, in inet_csk_rebuild_route()
Dping.c377 isk->inet_rcv_saddr = isk->inet_saddr = addr->sin_addr.s_addr; in ping_set_saddr()
/Linux-v5.10/include/trace/events/
Dtcp.h80 *p32 = inet->inet_saddr;
85 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
145 *p32 = inet->inet_saddr;
150 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr,
Dsock.h173 *p32 = inet->inet_saddr;
188 ipv6_addr_set_v4mapped(inet->inet_saddr, pin6);
Dnet_probe_common.h12 v4->sin_addr.s_addr = inet->inet_saddr; \
/Linux-v5.10/net/dccp/
Dipv4.c71 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect()
86 if (inet->inet_saddr == 0) in dccp_v4_connect()
87 inet->inet_saddr = fl4->saddr; in dccp_v4_connect()
88 sk_rcv_saddr_set(sk, inet->inet_saddr); in dccp_v4_connect()
116 dp->dccps_iss = secure_dccp_sequence_number(inet->inet_saddr, in dccp_v4_connect()
374 inet->inet_saddr, in dccp_v4_send_check()
415 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
Dipv6.c528 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c85 __be32 inet_saddr; member
223 &inet_sk(sk)->inet_saddr, in tcp_estats_conn_id_init()
/Linux-v5.10/net/l2tp/
Dl2tp_ip.c276 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()
Dl2tp_debugfs.c156 &inet->inet_saddr, &inet->inet_daddr); in l2tp_dfs_seq_tunnel_show()
Dl2tp_ip6.c338 inet->inet_saddr = v4addr; in l2tp_ip6_bind()
Dl2tp_netlink.c358 if (nla_put_in_addr(skb, L2TP_ATTR_IP_SADDR, inet->inet_saddr) || in l2tp_nl_tunnel_send_addr4()
/Linux-v5.10/net/rds/
Dtcp_listen.c144 ipv6_addr_set_v4mapped(inet->inet_saddr, &saddr); in rds_tcp_accept_one()
Dtcp.c250 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info()
/Linux-v5.10/include/net/
Dinet_sock.h207 __be32 inet_saddr; member
Dip.h95 ipcm->addr = inet->inet_saddr; in ipcm_init_sk()
623 inet_sk(sk)->inet_rcv_saddr = inet_sk(sk)->inet_saddr = 0; in inet_reset_saddr()
/Linux-v5.10/fs/ocfs2/cluster/
Dnetdebug.c309 saddr = (__force __be32)inet->inet_saddr; in sc_show_sock_container()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c186 req->dst_ip = inet->inet_saddr; in nfp_net_tls_set_ipv4()
/Linux-v5.10/net/ipv6/
Daf_inet6.c392 inet->inet_saddr = v4addr; in __inet6_bind()
Ddatagram.c201 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); in __ip6_datagram_connect()

12