Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 25 of 87) sorted by relevance

1234

/include/net/
A Dsock.h678 struct net *sock_net(const struct sock *sk) in sock_net()
1788 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification() local
1874 const struct sock *sk) in sockcm_init()
2132 __sk_dst_get(const struct sock *sk) in __sk_dst_get()
2139 sk_dst_get(const struct sock *sk) in sk_dst_get()
2190 __sk_dst_reset(struct sock *sk) in __sk_dst_reset()
2196 sk_dst_reset(struct sock *sk) in sk_dst_reset()
2214 struct sock *sk = skb->sk; in sock_confirm_neigh() local
2857 sk_is_refcounted(struct sock *sk) in sk_is_refcounted()
2864 sk_requests_wifi_status(struct sock *sk) in sk_requests_wifi_status()
[all …]
A Dproto_memory.h11 static inline bool sk_has_memory_pressure(const struct sock *sk) in sk_has_memory_pressure()
24 static inline bool sk_under_global_memory_pressure(const struct sock *sk) in sk_under_global_memory_pressure()
29 static inline bool sk_under_memory_pressure(const struct sock *sk) in sk_under_memory_pressure()
48 sk_memory_allocated(const struct sock *sk) in sk_memory_allocated()
62 sk_memory_allocated_add(const struct sock *sk, int val) in sk_memory_allocated_add()
73 sk_memory_allocated_sub(const struct sock *sk, int val) in sk_memory_allocated_sub()
A Dbusy_poll.h45 static inline bool sk_can_busy_loop(const struct sock *sk) in sk_can_busy_loop()
69 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop()
101 static inline bool sk_busy_loop_timeout(struct sock *sk, in sk_busy_loop_timeout()
117 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop()
149 static inline void sk_mark_napi_id(struct sock *sk, const struct sk_buff *skb) in sk_mark_napi_id()
162 static inline void sk_mark_napi_id_set(struct sock *sk, in sk_mark_napi_id_set()
171 static inline void __sk_mark_napi_id_once(struct sock *sk, unsigned int napi_id) in __sk_mark_napi_id_once()
180 static inline void sk_mark_napi_id_once(struct sock *sk, in sk_mark_napi_id_once()
A Dinet_connection_sock.h147 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca()
172 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack()
177 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled()
182 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init()
276 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added()
330 static inline void inet_csk_enter_pingpong_mode(struct sock *sk) in inet_csk_enter_pingpong_mode()
336 static inline void inet_csk_exit_pingpong_mode(struct sock *sk) in inet_csk_exit_pingpong_mode()
341 static inline bool inet_csk_in_pingpong_mode(struct sock *sk) in inet_csk_in_pingpong_mode()
347 static inline void inet_csk_inc_pingpong_cnt(struct sock *sk) in inet_csk_inc_pingpong_cnt()
355 static inline bool inet_csk_has_ulp(const struct sock *sk) in inet_csk_has_ulp()
[all …]
A Dtcp.h804 static inline void tcp_bound_rto(struct sock *sk) in tcp_bound_rto()
844 static inline u32 tcp_rto_min(const struct sock *sk) in tcp_rto_min()
1632 static inline int tcp_space(const struct sock *sk) in tcp_space()
1925 tcp_md5_do_lookup_any_l3index(const struct sock *sk, in tcp_md5_do_lookup_any_l3index()
1943 tcp_md5_do_lookup_any_l3index(const struct sock *sk, in tcp_md5_do_lookup_any_l3index()
2134 struct sock *sk) in tcp_insert_write_queue_before()
2375 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
2384 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
2566 static inline int tcp_inq(struct sock *sk) in tcp_inq()
2774 static inline u32 tcp_timeout_init(struct sock *sk) in tcp_timeout_init()
[all …]
A Dudp.h137 static inline bool udp_hashed4(const struct sock *sk) in udp_hashed4()
180 static inline bool udp_hashed4(const struct sock *sk) in udp_hashed4()
287 static inline void udp_lib_init_sock(struct sock *sk) in udp_lib_init_sock()
298 static inline int udp_lib_hash(struct sock *sk) in udp_lib_hash()
309 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close()
316 static inline void udp_lib_hash4(struct sock *sk, u16 hash) in udp_lib_hash4()
320 static inline void udp4_hash4(struct sock *sk) in udp4_hash4()
369 static inline int udp_rqueue_get(struct sock *sk) in udp_rqueue_get()
532 #define __UDPX_MIB(sk, ipv4) \ argument
540 #define __UDPX_MIB(sk, ipv4) \ argument
[all …]
A Dtcp_ao.h267 static inline int tcp_ao_transmit_skb(struct sock *sk, struct sk_buff *skb, in tcp_ao_transmit_skb()
274 static inline void tcp_ao_syncookie(struct sock *sk, const struct sk_buff *skb, in tcp_ao_syncookie()
279 static inline bool tcp_ao_ignore_icmp(const struct sock *sk, int family, in tcp_ao_ignore_icmp()
285 static inline enum skb_drop_reason tcp_inbound_ao_hash(struct sock *sk, in tcp_inbound_ao_hash()
293 static inline struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, in tcp_ao_do_lookup()
300 static inline void tcp_ao_destroy_sock(struct sock *sk, bool twsk) in tcp_ao_destroy_sock()
304 static inline void tcp_ao_established(struct sock *sk) in tcp_ao_established()
308 static inline void tcp_ao_finish_connect(struct sock *sk, struct sk_buff *skb) in tcp_ao_finish_connect()
317 static inline void tcp_ao_connect_init(struct sock *sk) in tcp_ao_connect_init()
331 static inline int tcp_ao_get_repair(struct sock *sk, in tcp_ao_get_repair()
[all …]
A Dinet_sock.h133 static inline int inet_sk_bound_l3mdev(const struct sock *sk) in inet_sk_bound_l3mdev()
214 struct sock sk; member
311 #define inet_test_bit(nr, sk) \ argument
313 #define inet_set_bit(nr, sk) \ argument
315 #define inet_clear_bit(nr, sk) \ argument
317 #define inet_assign_bit(nr, sk, val) \ argument
327 static inline struct sock *sk_to_full_sk(struct sock *sk) in sk_to_full_sk()
374 static inline int inet_sk_state_load(const struct sock *sk) in inet_sk_state_load()
417 static inline void inet_inc_convert_csum(struct sock *sk) in inet_inc_convert_csum()
422 static inline void inet_dec_convert_csum(struct sock *sk) in inet_dec_convert_csum()
[all …]
A Dinet6_hashtables.h95 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() local
112 struct sock *sk, *reuse_sk; in inet6_steal_sock() local
155 struct sock *sk; in __inet6_lookup_skb() local
178 static inline bool inet6_match(const struct net *net, const struct sock *sk, in inet6_match()
A Dtls.h92 struct sock *sk; member
110 struct sock *sk; member
255 struct sock *sk; member
356 struct sock *sk = skb->sk; in tls_is_skb_tx_device_offloaded() local
366 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx()
394 static inline bool tls_sw_has_ctx_tx(const struct sock *sk) in tls_sw_has_ctx_tx()
407 static inline bool tls_sw_has_ctx_rx(const struct sock *sk) in tls_sw_has_ctx_rx()
436 tls_driver_ctx(const struct sock *sk, enum tls_offload_ctx_dir direction) in tls_driver_ctx()
466 tls_offload_rx_resync_async_request_end(struct sock *sk, __be32 seq) in tls_offload_rx_resync_async_request_end()
484 static inline bool tls_offload_tx_resync_pending(struct sock *sk) in tls_offload_tx_resync_pending()
[all …]
A Dbpf_sk_storage.h41 static inline int bpf_sk_storage_clone(const struct sock *sk, in bpf_sk_storage_clone()
55 struct sock *sk, struct sk_buff *skb, in bpf_sk_storage_diag_put()
A Droute.h40 static inline __u8 ip_sock_rt_scope(const struct sock *sk) in ip_sock_rt_scope()
48 static inline __u8 ip_sock_rt_tos(const struct sock *sk) in ip_sock_rt_tos()
138 const struct sock *sk; in inet_sk_init_flowi4() local
202 const struct sock *sk, in ip_route_output_ports()
322 const struct sock *sk) in ip_route_connect_init()
340 const struct sock *sk) in ip_route_connect()
361 const struct sock *sk) in ip_route_newports()
A Dinet_hashtables.h178 static inline struct inet_hashinfo *tcp_get_hashinfo(const struct sock *sk) in tcp_get_hashinfo()
251 inet_bhashfn_portaddr(const struct inet_hashinfo *hinfo, const struct sock *sk, in inet_bhashfn_portaddr()
343 static inline bool inet_match(const struct net *net, const struct sock *sk, in inet_match()
406 struct sock *sk; in __inet_lookup() local
425 struct sock *sk; in inet_lookup() local
442 struct sock *sk, *reuse_sk; in inet_steal_sock() local
486 struct sock *sk; in __inet_lookup_skb() local
501 static inline void sk_daddr_set(struct sock *sk, __be32 addr) in sk_daddr_set()
509 static inline void sk_rcv_saddr_set(struct sock *sk, __be32 addr) in sk_rcv_saddr_set()
A Dl3mdev.h208 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out()
227 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
233 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
307 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out()
313 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
/include/linux/
A Dbpf-cgroup.h180 static inline bool cgroup_bpf_sock_enabled(struct sock *sk, in cgroup_bpf_sock_enabled()
191 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk, skb) \ argument
216 #define BPF_CGROUP_RUN_SK_PROG(sk, atype) \ argument
225 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) \ argument
278 #define BPF_CGROUP_PRE_CONNECT_ENABLED(sk) \ argument
331 #define BPF_CGROUP_RUN_PROG_SOCK_OPS_SK(sock_ops, sk) \ argument
481 #define BPF_CGROUP_PRE_CONNECT_ENABLED(sk) (0) argument
483 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) ({ 0; }) argument
484 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) ({ 0; }) argument
487 #define BPF_CGROUP_RUN_PROG_INET4_POST_BIND(sk) ({ 0; }) argument
[all …]
A Dudp.h113 #define udp_test_bit(nr, sk) \ argument
115 #define udp_set_bit(nr, sk) \ argument
117 #define udp_test_and_set_bit(nr, sk) \ argument
119 #define udp_clear_bit(nr, sk) \ argument
121 #define udp_assign_bit(nr, sk, val) \ argument
128 static inline int udp_set_peek_off(struct sock *sk, int val) in udp_set_peek_off()
135 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) in udp_set_no_check6_tx()
140 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) in udp_set_no_check6_rx()
145 static inline bool udp_get_no_check6_tx(const struct sock *sk) in udp_get_no_check6_tx()
150 static inline bool udp_get_no_check6_rx(const struct sock *sk) in udp_get_no_check6_rx()
[all …]
A Dmroute6.h52 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg) in ip6mr_ioctl()
63 ip6_mr_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_mr_output()
110 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl()
136 static inline int ip6mr_sk_done(struct sock *sk) in ip6mr_sk_done()
141 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl()
A Dsock_diag.h36 static inline u64 sock_gen_cookie(struct sock *sk) in sock_gen_cookie()
55 enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk) in sock_diag_destroy_group()
88 bool sock_diag_has_destroy_listeners(const struct sock *sk) in sock_diag_has_destroy_listeners()
A Dskmsg.h52 struct sock *sk; member
84 struct sock *sk; member
292 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock()
316 static inline void sock_drop(struct sock *sk, struct sk_buff *skb) in sock_drop()
390 struct sock *sk = psock->sk; in sk_psock_report_error() local
404 static inline int sk_psock_init_strp(struct sock *sk, struct sk_psock *psock) in sk_psock_init_strp()
409 static inline void sk_psock_start_strp(struct sock *sk, struct sk_psock *psock) in sk_psock_start_strp()
413 static inline void sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock) in sk_psock_stop_strp()
449 static inline void sk_psock_restore_proto(struct sock *sk, in sk_psock_restore_proto()
456 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get()
[all …]
A Dmroute.h33 static inline int ip_mroute_getsockopt(struct sock *sk, int optname, in ip_mroute_getsockopt()
39 static inline int ipmr_ioctl(struct sock *sk, int cmd, void *arg) in ipmr_ioctl()
59 static inline int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, in ipmr_sk_ioctl()
A Dnetfilter.h83 struct sock *sk; member
166 struct sock *sk, in nf_hook_state_init()
228 struct sock *sk, struct sk_buff *skb, in nf_hook()
298 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
312 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
323 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
409 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
418 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
426 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
434 struct sock *sk, struct sk_buff *skb, in nf_hook()
/include/net/phonet/
A Dphonet.h28 struct sock sk; member
34 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
112 static inline bool sk_is_phonet(struct sock *sk) in sk_is_phonet()
117 static inline int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, in phonet_sk_ioctl()
/include/crypto/
A Dif_alg.h26 struct sock sk; member
96 struct sock *sk; member
174 static inline struct alg_sock *alg_sk(struct sock *sk) in alg_sk()
185 static inline int af_alg_sndbuf(struct sock *sk) in af_alg_sndbuf()
200 static inline bool af_alg_writable(struct sock *sk) in af_alg_writable()
211 static inline int af_alg_rcvbuf(struct sock *sk) in af_alg_rcvbuf()
226 static inline bool af_alg_readable(struct sock *sk) in af_alg_readable()
/include/net/netfilter/
A Dnf_tproxy.h11 static inline bool nf_tproxy_sk_is_transparent(struct sock *sk) in nf_tproxy_sk_is_transparent()
28 static inline void nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk) in nf_tproxy_assign_sock()
/include/trace/events/
A Dnet_probe_common.h6 #define TP_STORE_ADDR_PORTS_V4(__entry, inet, sk) \ argument
21 #define TP_STORE_ADDR_PORTS(__entry, inet, sk) \ argument
39 #define TP_STORE_ADDR_PORTS(__entry, inet, sk) \ argument

Completed in 65 milliseconds

1234