/kernel/linux/linux-6.6/include/net/ |
H A D | inet_sock.h | 7 * Definitions for inet_sock 189 /** struct inet_sock - representation of INET sockets 209 struct inet_sock { struct 210 /* sk and pinet6 has to be the first two members of inet_sock */ 290 static inline unsigned long inet_cmsg_flags(const struct inet_sock *inet) in inet_cmsg_flags() 335 #define inet_sk(ptr) container_of_const(ptr, struct inet_sock, sk) 415 struct inet_sock *inet) in inet_can_nonlocal_bind() 423 struct inet_sock *inet, in inet_addr_valid_or_nonlocal()
|
H A D | raw.h | 16 #include <net/inet_sock.h> 80 /* inet_sock has to be the first member */ 81 struct inet_sock inet;
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ping.c | 81 struct inet_sock *isk, *isk2; in ping_get_port() 153 struct inet_sock *isk = inet_sk(sk); in ping_unhash() 173 struct inet_sock *isk; in ping_lookup() 302 static int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk, in ping_check_bind_addr() 393 struct inet_sock *isk = inet_sk(sk); in ping_set_saddr() 412 struct inet_sock *isk = inet_sk(sk); in ping_bind() 486 struct inet_sock *inet_sock; in ping_err() local 526 inet_sock = inet_sk(sk); in ping_err() 547 if (inet_sock in ping_err() [all...] |
H A D | datagram.c | 22 struct inet_sock *inet = inet_sk(sk); in __ip4_datagram_connect() 102 const struct inet_sock *inet = inet_sk(sk); in ip4_datagram_release_cb()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | nip_sockglue.c | 66 struct inet_sock *inet = inet_sk(sk); in do_nip_setsockopt() 119 struct inet_sock *inet = inet_sk(sk); in do_nip_getsockopt() 199 struct inet_sock *inet = inet_sk(sk); in nip_sock_debug()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ping.c | 80 struct inet_sock *isk, *isk2; in ping_get_port() 153 struct inet_sock *isk = inet_sk(sk); in ping_unhash() 171 struct inet_sock *isk; in ping_lookup() 308 static int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk, in ping_check_bind_addr() 398 struct inet_sock *isk = inet_sk(sk); in ping_set_saddr() 417 struct inet_sock *isk = inet_sk(sk); in ping_bind() 493 struct inet_sock *inet_sock; in ping_err() local 533 inet_sock = inet_sk(sk); in ping_err() 554 if (inet_sock in ping_err() [all...] |
H A D | datagram.c | 21 struct inet_sock *inet = inet_sk(sk); in __ip4_datagram_connect() 102 const struct inet_sock *inet = inet_sk(sk); in ip4_datagram_release_cb()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | raw.h | 16 #include <net/inet_sock.h> 63 /* inet_sock has to be the first member */ 64 struct inet_sock inet;
|
H A D | inet_sock.h | 7 * Definitions for inet_sock 188 /** struct inet_sock - representation of INET sockets 208 struct inet_sock { struct 209 /* sk and pinet6 has to be the first two members of inet_sock */ 300 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 302 return (struct inet_sock *)sk; in inet_sk() 383 struct inet_sock *inet) in inet_can_nonlocal_bind()
|
H A D | nata.h | 11 #include <net/inet_sock.h>
|
/kernel/liteos_a/testsuites/unittest/container/ |
H A D | It_container_test.cpp | 224 int inet_sock = socket(AF_INET, SOCK_DGRAM, 0); in NetContainerGetLocalIP() local 225 if (inet_sock < 0) { in NetContainerGetLocalIP() 228 ret = ioctl(inet_sock, SIOCGIFADDR, &ifr); in NetContainerGetLocalIP() 230 (void)close(inet_sock); in NetContainerGetLocalIP() 234 ret = close(inet_sock); in NetContainerGetLocalIP() 240 (void)close(inet_sock); in NetContainerGetLocalIP()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_ip.c | 29 /* inet_sock has to be the first member of l2tp_ip_sock */ 30 struct inet_sock inet; 52 const struct inet_sock *inet = inet_sk(sk); in __l2tp_ip_bind_lookup() 250 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_bind() 355 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_getname() 401 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_sendmsg() 522 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_recvmsg()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_estats.c | 45 * Recursively, "sock" needs "sock_common" and "inet_sock". 81 struct inet_sock { struct 93 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 95 return (struct inet_sock *)sk; in inet_sk()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_estats.c | 45 * Recursively, "sock" needs "sock_common" and "inet_sock". 81 struct inet_sock { struct 93 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 95 return (struct inet_sock *)sk; in inet_sk()
|
H A D | sock_destroy_prog.c | 78 const struct inet_sock *inet; in iter_tcp6_server() 131 struct inet_sock *inet; in iter_udp6_server()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | udp.h | 16 #include <net/inet_sock.h> 39 /* inet_sock has to be the first member */ 40 struct inet_sock inet;
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_ip.c | 29 /* inet_sock has to be the first member of l2tp_ip_sock */ 30 struct inet_sock inet; 52 const struct inet_sock *inet = inet_sk(sk); in __l2tp_ip_bind_lookup() 248 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_bind() 353 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_getname() 399 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_sendmsg() 520 struct inet_sock *inet = inet_sk(sk); in l2tp_ip_recvmsg()
|
/kernel/linux/linux-6.6/net/handshake/ |
H A D | trace.c | 14 #include <net/inet_sock.h>
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | udp.h | 16 #include <net/inet_sock.h> 48 /* inet_sock has to be the first member */ 49 struct inet_sock inet;
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
H A D | ninet_connection_sock.h | 12 #include <net/inet_sock.h>
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | tcp.h | 69 struct inet_sock *inet = inet_sk(sk); 136 struct inet_sock *inet = inet_sk(sk); 255 const struct inet_sock *inet = inet_sk(sk);
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | mptcp_diag.c | 101 struct inet_sock *inet = inet_sk(sk); in mptcp_diag_dump_listeners() 169 struct inet_sock *inet = (struct inet_sock *)msk; in mptcp_diag_dump()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | tcp.h | 70 const struct inet_sock *inet = inet_sk(sk); 140 struct inet_sock *inet = inet_sk(sk); 265 const struct inet_sock *inet = inet_sk(sk); 393 struct inet_sock *inet = inet_sk(sk);
|
/kernel/linux/linux-5.10/net/dccp/ |
H A D | ipv4.c | 19 #include <net/inet_sock.h> 41 struct inet_sock *inet = inet_sk(sk); in dccp_v4_connect() 150 const struct inet_sock *inet = inet_sk(sk); in dccp_do_pmtu_discovery() 238 struct inet_sock *inet; in dccp_v4_err() 371 const struct inet_sock *inet = inet_sk(sk); in dccp_v4_send_check() 403 struct inet_sock *newinet; in dccp_v4_request_recv_sock()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | bpf_tcp_helpers.h | 34 struct inet_sock { struct 39 struct inet_sock icsk_inet;
|