| /include/trace/events/ |
| D | net_probe_common.h | 6 #define TP_STORE_ADDR_PORTS_V4(__entry, inet, sk) \ argument 11 v4->sin_port = inet->inet_sport; \ 12 v4->sin_addr.s_addr = inet->inet_saddr; \ 15 v4->sin_port = inet->inet_dport; \ 16 v4->sin_addr.s_addr = inet->inet_daddr; \ 21 #define TP_STORE_ADDR_PORTS(__entry, inet, sk) \ argument 27 v6->sin6_port = inet->inet_sport; \ 31 v6->sin6_port = inet->inet_dport; \ 34 TP_STORE_ADDR_PORTS_V4(__entry, inet, sk); \ 39 #define TP_STORE_ADDR_PORTS(__entry, inet, sk) \ argument [all …]
|
| D | tcp.h | 42 const struct inet_sock *inet = inet_sk(sk); 49 __entry->sport = ntohs(inet->inet_sport); 50 __entry->dport = ntohs(inet->inet_dport); 54 *p32 = inet->inet_saddr; 57 *p32 = inet->inet_daddr; 59 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr, 118 const struct inet_sock *inet = inet_sk(sk); 120 TP_STORE_ADDR_PORTS(__entry, inet, sk); 166 struct inet_sock *inet = inet_sk(sk); 171 __entry->sport = ntohs(inet->inet_sport); [all …]
|
| D | sock.h | 162 const struct inet_sock *inet = inet_sk(sk); 171 __entry->sport = ntohs(inet->inet_sport); 172 __entry->dport = ntohs(inet->inet_dport); 175 *p32 = inet->inet_saddr; 178 *p32 = inet->inet_daddr; 180 TP_STORE_ADDRS(__entry, inet->inet_saddr, inet->inet_daddr, 213 const struct inet_sock *inet = inet_sk(sk); 219 __entry->sport = ntohs(inet->inet_sport); 220 __entry->dport = ntohs(inet->inet_dport); 223 *p32 = inet->inet_saddr; [all …]
|
| D | handshake.h | 204 const struct inet_sock *inet = inet_sk(sk); 208 TP_STORE_ADDR_PORTS(__entry, inet, sk); 295 const struct inet_sock *inet = inet_sk(sk); 299 TP_STORE_ADDR_PORTS(__entry, inet, sk);
|
| D | sunrpc.h | 861 const struct inet_sock *inet = inet_sk(sk); 866 TP_STORE_ADDR_PORTS(__entry, inet, sk); 916 const struct inet_sock *inet = inet_sk(sk); 921 TP_STORE_ADDR_PORTS(__entry, inet, sk);
|
| /include/linux/ |
| D | udp.h | 49 struct inet_sock inet; member 50 #define udp_port_hash inet.sk.__sk_common.skc_u16hashes[0] 51 #define udp_portaddr_hash inet.sk.__sk_common.skc_u16hashes[1] 52 #define udp_portaddr_node inet.sk.__sk_common.skc_portaddr_node 113 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk)
|
| D | ipv6.h | 297 struct inet_sock inet; member 332 #define raw6_sk(ptr) container_of_const(ptr, struct raw6_sock, inet.sk)
|
| /include/net/ |
| D | inet_sock.h | 302 static inline unsigned long inet_cmsg_flags(const struct inet_sock *inet) in inet_cmsg_flags() argument 304 return READ_ONCE(inet->inet_flags) & IP_CMSG_ALL; in inet_cmsg_flags() 427 struct inet_sock *inet) in inet_can_nonlocal_bind() argument 430 test_bit(INET_FLAGS_FREEBIND, &inet->inet_flags) || in inet_can_nonlocal_bind() 431 test_bit(INET_FLAGS_TRANSPARENT, &inet->inet_flags); in inet_can_nonlocal_bind() 435 struct inet_sock *inet, in inet_addr_valid_or_nonlocal() argument 439 return inet_can_nonlocal_bind(net, inet) || in inet_addr_valid_or_nonlocal()
|
| D | raw.h | 81 struct inet_sock inet; member 86 #define raw_sk(ptr) container_of_const(ptr, struct raw_sock, inet.sk)
|
| D | ip.h | 96 const struct inet_sock *inet) in ipcm_init_sk() argument 100 ipcm->sockc.mark = READ_ONCE(inet->sk.sk_mark); in ipcm_init_sk() 101 ipcm->sockc.tsflags = READ_ONCE(inet->sk.sk_tsflags); in ipcm_init_sk() 102 ipcm->oif = READ_ONCE(inet->sk.sk_bound_dev_if); in ipcm_init_sk() 103 ipcm->addr = inet->inet_saddr; in ipcm_init_sk() 104 ipcm->protocol = inet->inet_num; in ipcm_init_sk() 250 static inline u8 ip_sendmsg_scope(const struct inet_sock *inet, in ip_sendmsg_scope() argument 254 if (sock_flag(&inet->sk, SOCK_LOCALROUTE) || in ip_sendmsg_scope() 262 static inline __u8 get_rttos(struct ipcm_cookie* ipc, struct inet_sock *inet) in get_rttos() argument 264 u8 dsfield = ipc->tos != -1 ? ipc->tos : READ_ONCE(inet->tos); in get_rttos()
|
| D | ipv6.h | 930 struct inet_sock *inet) in ipv6_can_nonlocal_bind() argument 933 test_bit(INET_FLAGS_FREEBIND, &inet->inet_flags) || in ipv6_can_nonlocal_bind() 934 test_bit(INET_FLAGS_TRANSPARENT, &inet->inet_flags); in ipv6_can_nonlocal_bind()
|
| /include/linux/sunrpc/ |
| D | xprtsock.h | 26 struct sock * inet; member
|
| /include/net/sctp/ |
| D | structs.h | 151 struct inet_sock inet; member 245 #define sctp_sk(ptr) container_of_const(ptr, struct sctp_sock, inet.sk)
|