Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
A Ddatagram.c39 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 Daf_inet.c520 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 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()
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 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()
A 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()
/linux/include/trace/events/
A Dsock.h173 *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 Dtcp.h82 *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 Dnet_probe_common.h12 v4->sin_addr.s_addr = inet->inet_saddr; \
/linux/net/dccp/
A Dipv4.c78 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 Dipv6.c543 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_tcp_estats.c85 __be32 inet_saddr; member
223 &inet_sk(sk)->inet_saddr, in tcp_estats_conn_id_init()
/linux/net/l2tp/
A 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()
A Dl2tp_debugfs.c156 &inet->inet_saddr, &inet->inet_daddr); in l2tp_dfs_seq_tunnel_show()
A Dl2tp_ip6.c338 inet->inet_saddr = v4addr; in l2tp_ip6_bind()
A Dl2tp_netlink.c358 if (nla_put_in_addr(skb, L2TP_ATTR_IP_SADDR, inet->inet_saddr) || in l2tp_nl_tunnel_send_addr4()
/linux/net/rds/
A Dtcp_listen.c144 ipv6_addr_set_v4mapped(inet->inet_saddr, &saddr); in rds_tcp_accept_one()
A Dtcp.c250 tsinfo.local_addr = inet->inet_saddr; in rds_tcp_tc_info()
/linux/include/net/
A Dinet_sock.h207 __be32 inet_saddr; member
A Dip.h97 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 Dnetdebug.c307 saddr = (__force __be32)inet->inet_saddr; in sc_show_sock_container()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
A Dtls.c186 req->dst_ip = inet->inet_saddr; in nfp_net_tls_set_ipv4()
/linux/net/mptcp/
A Dsockopt.c854 a->sin_local.sin_addr.s_addr = inet->inet_saddr; in mptcp_get_sub_addrs()
/linux/net/ipv6/
A Daf_inet6.c394 inet->inet_saddr = v4addr; in __inet6_bind()
A Ddatagram.c201 ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); in __ip6_datagram_connect()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.c1193 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()
1211 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()

Completed in 52 milliseconds

12