| /include/net/ |
| D | sock.h | 83 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ argument 88 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG() 454 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument 456 #define rcu_dereference_sk_user_data(sk) rcu_dereference(__sk_user_data((sk))) argument 457 #define rcu_assign_sk_user_data(sk, ptr) rcu_assign_pointer(__sk_user_data((sk)), ptr) argument 472 static inline int sk_peek_offset(struct sock *sk, int flags) in sk_peek_offset() 483 static inline void sk_peek_offset_bwd(struct sock *sk, int val) in sk_peek_offset_bwd() 493 static inline void sk_peek_offset_fwd(struct sock *sk, int val) in sk_peek_offset_fwd() 526 static inline struct sock *sk_next(const struct sock *sk) in sk_next() 532 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next() [all …]
|
| D | busy_poll.h | 50 static inline unsigned long sk_busy_loop_end_time(struct sock *sk) in sk_busy_loop_end_time() 61 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop() 85 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id() 101 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop() 111 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id() 120 static inline bool sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop()
|
| D | tcp.h | 281 static inline bool tcp_under_memory_pressure(const struct sock *sk) in tcp_under_memory_pressure() 306 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory() 316 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans() 367 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode() 493 static inline void tcp_synq_overflow(const struct sock *sk) in tcp_synq_overflow() 503 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow() 574 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers() 619 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto() 642 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check() 654 static inline u32 tcp_rto_min(struct sock *sk) in tcp_rto_min() [all …]
|
| D | inet_connection_sock.h | 147 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk() 152 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca() 174 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack() 179 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled() 184 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init() 196 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer() 221 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer() 282 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added() 287 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len() 292 static inline int inet_csk_reqsk_queue_young(const struct sock *sk) in inet_csk_reqsk_queue_young() [all …]
|
| D | inet_sock.h | 109 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk() 114 static inline u32 inet_request_mark(const struct sock *sk, struct sk_buff *skb) in inet_request_mark() 122 static inline int inet_request_bound_dev_if(const struct sock *sk, in inet_request_bound_dev_if() 185 struct sock sk; member 249 static inline struct sock *sk_to_full_sk(struct sock *sk) in sk_to_full_sk() 259 static inline const struct sock *sk_const_to_full_sk(const struct sock *sk) in sk_const_to_full_sk() 273 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 311 static inline __u8 inet_sk_flowi_flags(const struct sock *sk) in inet_sk_flowi_flags() 320 static inline void inet_inc_convert_csum(struct sock *sk) in inet_inc_convert_csum() 325 static inline void inet_dec_convert_csum(struct sock *sk) in inet_dec_convert_csum() [all …]
|
| D | ip.h | 83 struct sock *sk; member 154 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb() 164 static inline __u8 get_rtconn_flags(struct ipcm_cookie* ipc, struct sock* sk) in get_rtconn_flags() 309 int ip_dont_fragment(const struct sock *sk, const struct dst_entry *dst) in ip_dont_fragment() 318 static inline bool ip_sk_accept_pmtu(const struct sock *sk) in ip_sk_accept_pmtu() 324 static inline bool ip_sk_use_pmtu(const struct sock *sk) in ip_sk_use_pmtu() 329 static inline bool ip_sk_ignore_df(const struct sock *sk) in ip_sk_ignore_df() 348 static inline unsigned int ip_skb_dst_mtu(struct sock *sk, in ip_skb_dst_mtu() 364 struct sock *sk, int segs) in ip_select_ident_segs() 386 struct sock *sk) in ip_select_ident() [all …]
|
| D | l3mdev.h | 167 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out() 184 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() 190 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out() 253 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() 259 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out()
|
| D | timewait_sock.h | 27 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique() 34 static inline void twsk_destructor(struct sock *sk) in twsk_destructor()
|
| D | ip6_route.h | 77 const struct sock *sk, in ip6_route_output() 171 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() 214 static inline bool ip6_sk_accept_pmtu(const struct sock *sk) in ip6_sk_accept_pmtu() 220 static inline bool ip6_sk_ignore_df(const struct sock *sk) in ip6_sk_ignore_df()
|
| D | udp.h | 131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() 192 static inline int udp_lib_hash(struct sock *sk) in udp_lib_hash() 201 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close() 311 #define __UDPX_INC_STATS(sk, field) \ argument 319 #define __UDPX_INC_STATS(sk, field) __UDP_INC_STATS(sock_net(sk), field, 0) argument
|
| D | route.h | 45 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 46 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 148 struct sock *sk, in ip_route_output_ports() 264 struct sock *sk) in ip_route_connect_init() 280 struct sock *sk) in ip_route_connect() 302 struct sock *sk) in ip_route_newports()
|
| D | inet_ecn.h | 51 static inline void INET_ECN_xmit(struct sock *sk) in INET_ECN_xmit() 58 static inline void INET_ECN_dontxmit(struct sock *sk) in INET_ECN_dontxmit() 69 #define IP6_ECN_flow_xmit(sk, label) do { \ argument
|
| D | inet_hashtables.h | 192 static inline int inet_sk_listen_hashfn(const struct sock *sk) in inet_sk_listen_hashfn() 307 struct sock *sk; in __inet_lookup() local 326 struct sock *sk; in inet_lookup() local 344 struct sock *sk = skb_steal_sock(skb); in __inet_lookup_skb() local 362 static inline void sk_daddr_set(struct sock *sk, __be32 addr) in sk_daddr_set() 370 static inline void sk_rcv_saddr_set(struct sock *sk, __be32 addr) in sk_rcv_saddr_set()
|
| D | udplite.h | 27 static inline int udplite_sk_init(struct sock *sk) in udplite_sk_init() 72 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
|
| D | inet6_hashtables.h | 72 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() local 89 struct sock *sk = skb_steal_sock(skb); in __inet6_lookup_skb() local
|
| D | inet_common.h | 47 static inline void inet_ctl_sock_destroy(struct sock *sk) in inet_ctl_sock_destroy()
|
| /include/linux/ |
| D | bpf-cgroup.h | 43 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk,skb) \ argument 53 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) \ argument 72 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk,skb) ({ 0; }) argument 73 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) ({ 0; }) argument
|
| D | udp.h | 84 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() 89 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) in udp_set_no_check6_tx() 94 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) in udp_set_no_check6_rx() 99 static inline bool udp_get_no_check6_tx(struct sock *sk) in udp_get_no_check6_tx() 104 static inline bool udp_get_no_check6_rx(struct sock *sk) in udp_get_no_check6_rx()
|
| D | sock_diag.h | 36 enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk) in sock_diag_destroy_group() 69 bool sock_diag_has_destroy_listeners(const struct sock *sk) in sock_diag_has_destroy_listeners()
|
| D | netfilter.h | 56 struct sock *sk; member 90 struct sock *sk, in nf_hook_state_init() 166 struct sock *sk, in nf_hook_thresh() 199 struct sock *sk, struct sk_buff *skb, in nf_hook() 224 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_THRESH() 237 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 251 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 356 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 365 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK() 373 struct sock *sk, struct sk_buff *skb, in nf_hook()
|
| D | ipv6.h | 308 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk() 324 #define __ipv6_only_sock(sk) (sk->sk_ipv6only) argument 325 #define ipv6_only_sock(sk) (__ipv6_only_sock(sk)) argument 326 #define ipv6_sk_rxinfo(sk) ((sk)->sk_family == PF_INET6 && \ argument 329 static inline const struct in6_addr *inet6_rcv_saddr(const struct sock *sk) in inet6_rcv_saddr() 336 static inline int inet_v6_ipv6only(const struct sock *sk) in inet_v6_ipv6only() 342 #define __ipv6_only_sock(sk) 0 argument 343 #define ipv6_only_sock(sk) 0 argument 344 #define ipv6_sk_rxinfo(sk) 0 argument 362 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk()
|
| /include/net/phonet/ |
| D | phonet.h | 37 struct sock sk; member 43 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
|
| /include/net/sctp/ |
| D | sctp.h | 404 static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r() 442 static inline void sctp_assoc_pending_pmtu(struct sock *sk, struct sctp_association *asoc) in sctp_assoc_pending_pmtu() 544 #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style)) argument 545 static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) in __sctp_style() 559 #define sctp_sstate(sk, state) __sctp_sstate((sk), (SCTP_SS_##state)) argument 560 static inline int __sctp_sstate(const struct sock *sk, sctp_sock_state_t state) in __sctp_sstate()
|
| /include/crypto/ |
| D | if_alg.h | 29 struct sock sk; member 87 static inline struct alg_sock *alg_sk(struct sock *sk) in alg_sk()
|
| /include/net/irda/ |
| D | af_irda.h | 41 struct sock sk; member 82 static inline struct irda_sock *irda_sk(struct sock *sk) in irda_sk()
|