/include/net/ |
D | sock.h | 81 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ argument 86 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG() 522 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument 524 #define rcu_dereference_sk_user_data(sk) rcu_dereference(__sk_user_data((sk))) argument 525 #define rcu_assign_sk_user_data(sk, ptr) rcu_assign_pointer(__sk_user_data((sk)), ptr) argument 540 static inline int sk_peek_offset(struct sock *sk, int flags) in sk_peek_offset() 549 static inline void sk_peek_offset_bwd(struct sock *sk, int val) in sk_peek_offset_bwd() 559 static inline void sk_peek_offset_fwd(struct sock *sk, int val) in sk_peek_offset_fwd() 592 static inline struct sock *sk_next(const struct sock *sk) in sk_next() 597 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next() [all …]
|
D | busy_poll.h | 37 static inline bool sk_can_busy_loop(const struct sock *sk) in sk_can_busy_loop() 54 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop() 86 static inline bool sk_busy_loop_timeout(struct sock *sk, in sk_busy_loop_timeout() 102 static inline void sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() 122 static inline void sk_mark_napi_id(struct sock *sk, const struct sk_buff *skb) in sk_mark_napi_id() 131 static inline void sk_mark_napi_id_once(struct sock *sk, in sk_mark_napi_id_once()
|
D | tcp.h | 255 static inline bool tcp_under_memory_pressure(const struct sock *sk) in tcp_under_memory_pressure() 280 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory() 290 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans() 346 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode() 486 static inline void tcp_synq_overflow(const struct sock *sk) in tcp_synq_overflow() 510 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow() 609 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers() 660 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto() 683 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check() 695 static inline u32 tcp_rto_min(struct sock *sk) in tcp_rto_min() [all …]
|
D | inet_connection_sock.h | 149 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk() 154 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca() 177 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack() 182 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled() 187 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init() 195 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer() 217 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer() 272 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added() 277 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len() 282 static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk) in inet_csk_reqsk_queue_is_full() [all …]
|
D | inet_sock.h | 103 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk() 108 static inline u32 inet_request_mark(const struct sock *sk, struct sk_buff *skb) in inet_request_mark() 116 static inline int inet_request_bound_dev_if(const struct sock *sk, in inet_request_bound_dev_if() 129 static inline int inet_sk_bound_l3mdev(const struct sock *sk) in inet_sk_bound_l3mdev() 197 struct sock sk; member 262 static inline struct sock *sk_to_full_sk(struct sock *sk) in sk_to_full_sk() 272 static inline const struct sock *sk_const_to_full_sk(const struct sock *sk) in sk_const_to_full_sk() 286 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 315 static inline int inet_sk_state_load(const struct sock *sk) in inet_sk_state_load() 349 static inline __u8 inet_sk_flowi_flags(const struct sock *sk) in inet_sk_flowi_flags() [all …]
|
D | udp.h | 127 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() 191 static inline int udp_lib_hash(struct sock *sk) in udp_lib_hash() 200 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close() 246 static inline int udp_rqueue_get(struct sock *sk) in udp_rqueue_get() 269 static inline struct sk_buff *skb_recv_udp(struct sock *sk, unsigned int flags, in skb_recv_udp() 416 #define __UDPX_MIB(sk, ipv4) \ argument 424 #define __UDPX_MIB(sk, ipv4) \ argument 431 #define __UDPX_INC_STATS(sk, field) \ argument 467 static inline struct sk_buff *udp_rcv_segment(struct sock *sk, in udp_rcv_segment()
|
D | tls.h | 150 struct sock *sk; member 447 static inline bool tls_is_sk_tx_device_offloaded(struct sock *sk) in tls_is_sk_tx_device_offloaded() 458 static inline void tls_err_abort(struct sock *sk, int err) in tls_err_abort() 477 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx() 487 static inline void tls_advance_record_sn(struct sock *sk, in tls_advance_record_sn() 580 static inline bool tls_sw_has_ctx_tx(const struct sock *sk) in tls_sw_has_ctx_tx() 609 tls_driver_ctx(const struct sock *sk, enum tls_offload_ctx_dir direction) in tls_driver_ctx() 616 static inline void tls_offload_rx_resync_request(struct sock *sk, __be32 seq) in tls_offload_rx_resync_request() 625 tls_offload_rx_resync_set_type(struct sock *sk, enum tls_offload_sync_type type) in tls_offload_rx_resync_set_type() 632 static inline void tls_offload_tx_resync_request(struct sock *sk) in tls_offload_tx_resync_request() [all …]
|
D | l3mdev.h | 175 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out() 192 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() 198 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out() 272 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() 278 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
|
D | ip.h | 123 struct sock *sk; member 234 static inline int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, in ip_queue_xmit() 240 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb() 250 static inline __u8 get_rtconn_flags(struct ipcm_cookie* ipc, struct sock* sk) in get_rtconn_flags() 424 int ip_dont_fragment(const struct sock *sk, const struct dst_entry *dst) in ip_dont_fragment() 433 static inline bool ip_sk_accept_pmtu(const struct sock *sk) in ip_sk_accept_pmtu() 439 static inline bool ip_sk_use_pmtu(const struct sock *sk) in ip_sk_use_pmtu() 444 static inline bool ip_sk_ignore_df(const struct sock *sk) in ip_sk_ignore_df() 463 static inline unsigned int ip_skb_dst_mtu(struct sock *sk, in ip_skb_dst_mtu() 510 struct sock *sk, int segs) in ip_select_ident_segs() [all …]
|
D | timewait_sock.h | 23 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique() 30 static inline void twsk_destructor(struct sock *sk) in twsk_destructor()
|
D | route.h | 43 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 44 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 152 struct sock *sk, in ip_route_output_ports() 284 struct sock *sk) in ip_route_connect_init() 300 struct sock *sk) in ip_route_connect() 322 struct sock *sk) in ip_route_newports()
|
D | inet_ecn.h | 52 static inline void INET_ECN_xmit(struct sock *sk) in INET_ECN_xmit() 59 static inline void INET_ECN_dontxmit(struct sock *sk) in INET_ECN_dontxmit() 70 #define IP6_ECN_flow_xmit(sk, label) do { \ argument
|
D | udplite.h | 28 static inline int udplite_sk_init(struct sock *sk) in udplite_sk_init() 74 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
|
D | ip6_route.h | 95 const struct sock *sk, in ip6_route_output() 226 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() 272 static inline bool ip6_sk_accept_pmtu(const struct sock *sk) in ip6_sk_accept_pmtu() 278 static inline bool ip6_sk_ignore_df(const struct sock *sk) in ip6_sk_ignore_df()
|
D | inet_hashtables.h | 227 static inline int inet_sk_listen_hashfn(const struct sock *sk) in inet_sk_listen_hashfn() 344 struct sock *sk; in __inet_lookup() local 363 struct sock *sk; in inet_lookup() local 382 struct sock *sk = skb_steal_sock(skb); in __inet_lookup_skb() local 399 static inline void sk_daddr_set(struct sock *sk, __be32 addr) in sk_daddr_set() 407 static inline void sk_rcv_saddr_set(struct sock *sk, __be32 addr) in sk_rcv_saddr_set()
|
/include/linux/ |
D | bpf-cgroup.h | 168 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk, skb) \ argument 178 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk, skb) \ argument 190 #define BPF_CGROUP_RUN_SK_PROG(sk, type) \ argument 199 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) \ argument 202 #define BPF_CGROUP_RUN_PROG_INET4_POST_BIND(sk) \ argument 205 #define BPF_CGROUP_RUN_PROG_INET6_POST_BIND(sk) \ argument 208 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, type) \ argument 217 #define BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, type, t_ctx) \ argument 229 #define BPF_CGROUP_RUN_PROG_INET4_BIND(sk, uaddr) \ argument 232 #define BPF_CGROUP_RUN_PROG_INET6_BIND(sk, uaddr) \ argument [all …]
|
D | udp.h | 96 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() 101 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) in udp_set_no_check6_tx() 106 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) in udp_set_no_check6_rx() 111 static inline bool udp_get_no_check6_tx(struct sock *sk) in udp_get_no_check6_tx() 116 static inline bool udp_get_no_check6_rx(struct sock *sk) in udp_get_no_check6_rx() 121 static inline void udp_cmsg_recv(struct msghdr *msg, struct sock *sk, in udp_cmsg_recv() 132 static inline bool udp_unexpected_gso(struct sock *sk, struct sk_buff *skb) in udp_unexpected_gso()
|
D | skmsg.h | 52 struct sock *sk; member 85 struct sock *sk; member 277 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() 295 struct sock *sk = psock->sk; in sk_psock_report_error() local 325 static inline void sk_psock_unlink(struct sock *sk, in sk_psock_unlink() 342 static inline void sk_psock_update_proto(struct sock *sk, in sk_psock_update_proto() 354 static inline void sk_psock_restore_proto(struct sock *sk, in sk_psock_restore_proto() 394 static inline struct sk_psock *sk_psock_get_checked(struct sock *sk) in sk_psock_get_checked() 414 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get() 430 static inline void sk_psock_put(struct sock *sk, struct sk_psock *psock) in sk_psock_put() [all …]
|
D | sock_diag.h | 37 enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk) in sock_diag_destroy_group() 70 bool sock_diag_has_destroy_listeners(const struct sock *sk) in sock_diag_has_destroy_listeners()
|
D | netfilter.h | 71 struct sock *sk; member 143 struct sock *sk, in nf_hook_state_init() 210 struct sock *sk, struct sk_buff *skb, in nf_hook() 285 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 299 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 310 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() 387 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 396 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK() 404 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() 412 struct sock *sk, struct sk_buff *skb, in nf_hook()
|
/include/trace/events/ |
D | net_probe_common.h | 6 #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
|
/include/net/netfilter/ |
D | nf_tproxy.h | 11 static inline bool nf_tproxy_sk_is_transparent(struct sock *sk) in nf_tproxy_sk_is_transparent() 21 static inline void nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk) in nf_tproxy_assign_sock()
|
/include/crypto/ |
D | if_alg.h | 28 struct sock sk; member 97 struct sock *sk; member 168 static inline struct alg_sock *alg_sk(struct sock *sk) in alg_sk() 179 static inline int af_alg_sndbuf(struct sock *sk) in af_alg_sndbuf() 194 static inline bool af_alg_writable(struct sock *sk) in af_alg_writable() 205 static inline int af_alg_rcvbuf(struct sock *sk) in af_alg_rcvbuf() 220 static inline bool af_alg_readable(struct sock *sk) in af_alg_readable()
|
/include/net/phonet/ |
D | phonet.h | 24 struct sock sk; member 30 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
|
/include/net/sctp/ |
D | sctp.h | 398 static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r() 513 #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style)) argument 514 static inline int __sctp_style(const struct sock *sk, in __sctp_style() 529 #define sctp_sstate(sk, state) __sctp_sstate((sk), (SCTP_SS_##state)) argument 530 static inline int __sctp_sstate(const struct sock *sk, in __sctp_sstate() 613 static inline bool sctp_newsk_ready(const struct sock *sk) in sctp_newsk_ready()
|