Home
last modified time | relevance | path

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

123

/include/net/
Dsock.h97 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ argument
102 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG()
417 static inline int sk_peek_offset(struct sock *sk, int flags) in sk_peek_offset()
425 static inline void sk_peek_offset_bwd(struct sock *sk, int val) in sk_peek_offset_bwd()
435 static inline void sk_peek_offset_fwd(struct sock *sk, int val) in sk_peek_offset_fwd()
469 static inline struct sock *sk_next(const struct sock *sk) in sk_next()
475 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next()
483 static inline bool sk_unhashed(const struct sock *sk) in sk_unhashed()
488 static inline bool sk_hashed(const struct sock *sk) in sk_hashed()
503 static inline void __sk_del_node(struct sock *sk) in __sk_del_node()
[all …]
Dinet_connection_sock.h139 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk()
144 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca()
166 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack()
171 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled()
176 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init()
188 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer()
213 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer()
262 static inline void inet_csk_reqsk_queue_add(struct sock *sk, in inet_csk_reqsk_queue_add()
273 static inline void inet_csk_reqsk_queue_removed(struct sock *sk, in inet_csk_reqsk_queue_removed()
280 static inline void inet_csk_reqsk_queue_added(struct sock *sk, in inet_csk_reqsk_queue_added()
[all …]
Dtcp.h313 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory()
321 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans()
337 static inline void tcp_synq_overflow(struct sock *sk) in tcp_synq_overflow()
343 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow()
390 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode()
492 static inline __u32 cookie_v4_init_sequence(struct sock *sk, in cookie_v4_init_sequence()
510 static inline __u32 cookie_v6_init_sequence(struct sock *sk, in cookie_v6_init_sequence()
553 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers()
601 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto()
626 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check()
[all …]
Dinet6_hashtables.h43 static inline int inet6_sk_ehashfn(const struct sock *sk) in inet6_sk_ehashfn()
88 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() local
102 struct sock *sk = skb_steal_sock(skb); in __inet6_lookup_skb() local
Dtimewait_sock.h27 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()
Dudp.h138 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
160 static inline void udp_lib_hash(struct sock *sk) in udp_lib_hash()
168 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close()
229 #define UDPX_INC_STATS_BH(sk, field) \ argument
237 #define UDPX_INC_STATS_BH(sk, field) UDP_INC_STATS_BH(sock_net(sk), field, 0) argument
Dinet_ecn.h51 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
Dip.h66 struct sock *sk; member
138 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
253 int ip_dont_fragment(struct sock *sk, struct dst_entry *dst) in ip_dont_fragment()
262 static inline void ip_select_ident(struct iphdr *iph, struct dst_entry *dst, struct sock *sk) in ip_select_ident()
276 static inline void ip_select_ident_more(struct iphdr *iph, struct dst_entry *dst, struct sock *sk, … in ip_select_ident_more()
353 static __inline__ void inet_reset_saddr(struct sock *sk) in inet_reset_saddr()
368 static inline int sk_mc_loop(struct sock *sk) in sk_mc_loop()
Dudplite.h26 static inline int udplite_sk_init(struct sock *sk) in udplite_sk_init()
70 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
Dinet_common.h41 static inline void inet_ctl_sock_destroy(struct sock *sk) in inet_ctl_sock_destroy()
Dinet_sock.h95 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk()
100 static inline u32 inet_request_mark(struct sock *sk, struct sk_buff *skb) in inet_request_mark()
149 struct sock sk; member
192 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk()
228 static inline int inet_sk_ehashfn(const struct sock *sk) in inet_sk_ehashfn()
253 static inline __u8 inet_sk_flowi_flags(const struct sock *sk) in inet_sk_flowi_flags()
Droute.h41 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument
137 struct sock *sk, in ip_route_output_ports()
246 struct sock *sk, bool can_sleep) in ip_route_connect_init()
264 struct sock *sk, bool can_sleep) in ip_route_connect()
286 struct sock *sk) in ip_route_newports()
Dip6_checksum.h69 static inline void tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) in tcp_v6_send_check()
Dcls_cgroup.h64 static inline void sock_update_classid(struct sock *sk) in sock_update_classid()
Dip6_route.h158 static inline void __ip6_dst_store(struct sock *sk, struct dst_entry *dst, in __ip6_dst_store()
173 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store()
Dinet_hashtables.h244 static inline int inet_sk_listen_hashfn(const struct sock *sk) in inet_sk_listen_hashfn()
364 struct sock *sk = __inet_lookup_established(net, hashinfo, in __inet_lookup() local
377 struct sock *sk; in inet_lookup() local
391 struct sock *sk = skb_steal_sock(skb); in __inet_lookup_skb() local
Dcipso_ipv4.h239 static inline int cipso_v4_sock_setattr(struct sock *sk, in cipso_v4_sock_setattr()
246 static inline void cipso_v4_sock_delattr(struct sock *sk) in cipso_v4_sock_delattr()
250 static inline int cipso_v4_sock_getattr(struct sock *sk, in cipso_v4_sock_getattr()
Dnetprio_cgroup.h71 #define sock_update_netprioidx(sk) argument
/include/crypto/
Dif_alg.h29 struct sock sk; member
78 static inline struct alg_sock *alg_sk(struct sock *sk) in alg_sk()
83 static inline void af_alg_release_parent(struct sock *sk) in af_alg_release_parent()
/include/net/netfilter/
Dnf_tproxy_core.h72 struct sock *sk; in nf_tproxy_get_sock_v4() local
142 struct sock *sk; in nf_tproxy_get_sock_v6() local
/include/net/sctp/
Dsctp.h218 #define sctp_lock_sock(sk) lock_sock(sk) argument
219 #define sctp_release_sock(sk) release_sock(sk) argument
220 #define sctp_bh_lock_sock(sk) bh_lock_sock(sk) argument
221 #define sctp_bh_unlock_sock(sk) bh_unlock_sock(sk) argument
478 static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r()
536 static inline void sctp_assoc_pending_pmtu(struct sock *sk, struct sctp_association *asoc) in sctp_assoc_pending_pmtu()
682 #define sctp_style(sk, style) __sctp_style((sk), (SCTP_SOCKET_##style)) argument
683 static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) in __sctp_style()
697 #define sctp_sstate(sk, state) __sctp_sstate((sk), (SCTP_SS_##state)) argument
698 static inline int __sctp_sstate(const struct sock *sk, sctp_sock_state_t state) in __sctp_sstate()
/include/net/phonet/
Dphonet.h37 struct sock sk; member
43 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
/include/linux/
Dipv6.h270 static inline struct inet6_timewait_sock *inet6_twsk(const struct sock *sk) in inet6_twsk()
306 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk()
322 #define __ipv6_only_sock(sk) (inet6_sk(sk)->ipv6only) argument
323 #define ipv6_only_sock(sk) ((sk)->sk_family == PF_INET6 && __ipv6_only_sock(sk)) argument
331 static inline struct in6_addr *__inet6_rcv_saddr(const struct sock *sk) in __inet6_rcv_saddr()
337 static inline struct in6_addr *inet6_rcv_saddr(const struct sock *sk) in inet6_rcv_saddr()
342 static inline int inet_v6_ipv6only(const struct sock *sk) in inet_v6_ipv6only()
348 #define __ipv6_only_sock(sk) 0 argument
349 #define ipv6_only_sock(sk) 0 argument
362 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk()
/include/net/bluetooth/
Dsco.h63 struct sock *sk; member
72 #define sco_pi(sk) ((struct sco_pinfo *) sk) argument
/include/net/irda/
Daf_irda.h41 struct sock sk; member
82 static inline struct irda_sock *irda_sk(struct sock *sk) in irda_sk()

123