Searched defs:sk (Results 1 - 200 of 405) sorted by relevance

123

/linux-4.1.27/include/net/
H A Dinet_common.h42 static inline void inet_ctl_sock_destroy(struct sock *sk) inet_ctl_sock_destroy() argument
H A Dcls_cgroup.h44 static inline void sock_update_classid(struct sock *sk) sock_update_classid() argument
53 static inline void sock_update_classid(struct sock *sk) sock_update_classid() argument
H A Dtimewait_sock.h27 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) twsk_unique() argument
34 static inline void twsk_destructor(struct sock *sk) twsk_destructor() argument
H A Draw.h70 static inline struct raw_sock *raw_sk(const struct sock *sk) raw_sk() argument
H A Dip6_checksum.h85 static inline void tcp_v6_send_check(struct sock *sk, struct sk_buff *skb) tcp_v6_send_check() argument
H A Dbusy_poll.h50 static inline unsigned long sk_busy_loop_end_time(struct sock *sk) sk_busy_loop_end_time() argument
61 static inline bool sk_can_busy_loop(struct sock *sk) sk_can_busy_loop() argument
78 static inline bool sk_busy_loop(struct sock *sk, int nonblock) sk_busy_loop() argument
128 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) sk_mark_napi_id() argument
144 static inline bool sk_can_busy_loop(struct sock *sk) sk_can_busy_loop() argument
154 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) sk_mark_napi_id() argument
163 static inline bool sk_busy_loop(struct sock *sk, int nonblock) sk_busy_loop() argument
H A Dinet6_hashtables.h69 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, __inet6_lookup() local
84 struct sock *sk = skb_steal_sock(skb); __inet6_lookup_skb() local
H A Dudplite.h27 static inline int udplite_sk_init(struct sock *sk) udplite_sk_init() argument
71 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) udplite_csum_outgoing() argument
H A Daf_unix.h53 struct sock sk; member in struct:unix_sock
69 static inline struct unix_sock *unix_sk(struct sock *sk) unix_sk() argument
H A Dinet_ecn.h51 static inline void INET_ECN_xmit(struct sock *sk) INET_ECN_xmit() argument
58 static inline void INET_ECN_dontxmit(struct sock *sk) INET_ECN_dontxmit() argument
H A Daf_vsock.h32 struct sock sk; member in struct:vsock_sock
H A Dinet_hashtables.h239 static inline int inet_sk_listen_hashfn(const struct sock *sk) inet_sk_listen_hashfn() argument
349 struct sock *sk = __inet_lookup_established(net, hashinfo, __inet_lookup() local
362 struct sock *sk; inet_lookup() local
376 struct sock *sk = skb_steal_sock(skb); __inet_lookup_skb() local
392 static inline void sk_daddr_set(struct sock *sk, __be32 addr) sk_daddr_set() argument
400 static inline void sk_rcv_saddr_set(struct sock *sk, __be32 addr) sk_rcv_saddr_set() argument
H A Dinet_timewait_sock.h95 static inline struct inet_timewait_sock *inet_twsk(const struct sock *sk) inet_twsk() argument
H A Dip6_route.h144 static inline void __ip6_dst_store(struct sock *sk, struct dst_entry *dst, __ip6_dst_store() argument
159 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, ip6_dst_store() argument
193 static inline bool ip6_sk_accept_pmtu(const struct sock *sk) ip6_sk_accept_pmtu() argument
199 static inline bool ip6_sk_ignore_df(const struct sock *sk) ip6_sk_ignore_df() argument
70 ip6_route_output(struct net *net, const struct sock *sk, struct flowi6 *fl6) ip6_route_output() argument
H A Dip6_tunnel.h76 static inline void ip6tunnel_xmit(struct sock *sk, struct sk_buff *skb, ip6tunnel_xmit() argument
H A Dipx.h100 struct sock sk; member in struct:ipx_sock
115 static inline struct ipx_sock *ipx_sk(struct sock *sk) ipx_sk() argument
H A Dllc_conn.h34 struct sock sk; member in struct:llc_sock
83 static inline struct llc_sock *llc_sk(const struct sock *sk) llc_sk() argument
H A Dudp.h131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) udp_csum_outgoing() argument
180 static inline void udp_lib_hash(struct sock *sk) udp_lib_hash() argument
188 static inline void udp_lib_close(struct sock *sk, long timeout) udp_lib_close() argument
/linux-4.1.27/net/ax25/
H A Dax25_std_timer.c34 struct sock *sk = ax25->sk; ax25_std_heartbeat_expiry() local
H A Dax25_ds_timer.c97 struct sock *sk=ax25->sk; ax25_ds_heartbeat_expiry() local
H A Dax25_in.c192 struct sock *make, *sk; ax25_rcv() local
/linux-4.1.27/net/decnet/
H A Ddn_timer.c38 void dn_start_slow_timer(struct sock *sk) dn_start_slow_timer() argument
44 void dn_stop_slow_timer(struct sock *sk) dn_stop_slow_timer() argument
51 struct sock *sk = (struct sock *)arg; dn_slow_timer() local
H A Ddn_neigh.c197 static int dn_neigh_output_packet(struct sock *sk, struct sk_buff *skb) dn_neigh_output_packet() argument
209 static int dn_long_output(struct neighbour *neigh, struct sock *sk, dn_long_output() argument
256 static int dn_short_output(struct neighbour *neigh, struct sock *sk, dn_short_output() argument
298 static int dn_phase3_output(struct neighbour *neigh, struct sock *sk, dn_phase3_output() argument
334 int dn_to_neigh_output(struct sock *sk, struct sk_buff *skb) dn_to_neigh_output() argument
378 int dn_neigh_router_hello(struct sock *sk, struct sk_buff *skb) dn_neigh_router_hello() argument
440 int dn_neigh_endnode_hello(struct sock *sk, struct sk_buff *skb) dn_neigh_endnode_hello() argument
H A Ddn_nsp_in.c100 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) dn_ack() argument
136 static int dn_process_ack(struct sock *sk, struct sk_buff *skb, int oth) dn_process_ack() argument
332 static void dn_nsp_conn_init(struct sock *sk, struct sk_buff *skb) dn_nsp_conn_init() argument
344 static void dn_nsp_conn_conf(struct sock *sk, struct sk_buff *skb) dn_nsp_conn_conf() argument
387 static void dn_nsp_conn_ack(struct sock *sk, struct sk_buff *skb) dn_nsp_conn_ack() argument
399 static void dn_nsp_disc_init(struct sock *sk, struct sk_buff *skb) dn_nsp_disc_init() argument
467 static void dn_nsp_disc_conf(struct sock *sk, struct sk_buff *skb) dn_nsp_disc_conf() argument
511 static void dn_nsp_linkservice(struct sock *sk, struct sk_buff *skb) dn_nsp_linkservice() argument
585 static __inline__ int dn_queue_skb(struct sock *sk, struct sk_buff *skb, int sig, struct sk_buff_head *queue) dn_queue_skb() argument
611 static void dn_nsp_otherdata(struct sock *sk, struct sk_buff *skb) dn_nsp_otherdata() argument
639 static void dn_nsp_data(struct sock *sk, struct sk_buff *skb) dn_nsp_data() argument
675 static void dn_returned_conn_init(struct sock *sk, struct sk_buff *skb) dn_returned_conn_init() argument
720 struct sock *sk = NULL; dn_nsp_rx_packet() local
827 int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb) dn_nsp_backlog_rcv() argument
/linux-4.1.27/net/bluetooth/
H A Dmgmt_util.h29 struct sock *sk; member in struct:mgmt_pending_cmd
H A Dmgmt_util.c60 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) mgmt_cmd_status() argument
90 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, mgmt_cmd_complete() argument
170 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, mgmt_pending_add() argument
/linux-4.1.27/net/ipv4/
H A Dip_forward.c60 static int ip_forward_finish(struct sock *sk, struct sk_buff *skb) ip_forward_finish() argument
H A Dtcp_diag.c19 static void tcp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, tcp_diag_get_info() argument
H A Dtcp_scalable.c18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_scalable_cong_avoid() argument
32 static u32 tcp_scalable_ssthresh(struct sock *sk) tcp_scalable_ssthresh() argument
H A Dxfrm4_input.c25 static inline int xfrm4_rcv_encap_finish(struct sock *sk, struct sk_buff *skb) xfrm4_rcv_encap_finish() argument
68 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) xfrm4_udp_encap_rcv() argument
H A Dxfrm4_output.c72 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb) xfrm4_output_finish() argument
83 static int __xfrm4_output(struct sock *sk, struct sk_buff *skb) __xfrm4_output() argument
97 int xfrm4_output(struct sock *sk, struct sk_buff *skb) xfrm4_output() argument
H A Ddatagram.c23 int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) __ip4_datagram_connect() argument
87 int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) ip4_datagram_connect() argument
102 void ip4_datagram_release_cb(struct sock *sk) ip4_datagram_release_cb() argument
H A Dtcp_highspeed.c99 static void hstcp_init(struct sock *sk) hstcp_init() argument
111 static void hstcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) hstcp_cong_avoid() argument
150 static u32 hstcp_ssthresh(struct sock *sk) hstcp_ssthresh() argument
H A Dudp_tunnel.c60 struct sock *sk = sock->sk; setup_udp_tunnel_sock() local
78 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, udp_tunnel_xmit_skb() argument
H A Dinet_timewait_sock.c131 void __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, __inet_twsk_hashdance() argument
186 struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, inet_twsk_alloc() argument
289 struct sock *sk; inet_twsk_purge() local
H A Dip_input.c161 struct sock *sk = ra->sk; ip_call_ra_chain() local
190 static int ip_local_deliver_finish(struct sock *sk, struct sk_buff *skb) ip_local_deliver_finish() argument
313 static int ip_rcv_finish(struct sock *sk, struct sk_buff *skb) ip_rcv_finish() argument
H A Dip_tunnel_core.c49 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, iptunnel_xmit() argument
H A Dtcp_bic.c70 static void bictcp_init(struct sock *sk) bictcp_init() argument
141 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) bictcp_cong_avoid() argument
161 static u32 bictcp_recalc_ssthresh(struct sock *sk) bictcp_recalc_ssthresh() argument
183 static u32 bictcp_undo_cwnd(struct sock *sk) bictcp_undo_cwnd() argument
191 static void bictcp_state(struct sock *sk, u8 new_state) bictcp_state() argument
200 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt) bictcp_acked() argument
H A Dtcp_dctcp.c84 static void dctcp_init(struct sock *sk) dctcp_init() argument
112 static u32 dctcp_ssthresh(struct sock *sk) dctcp_ssthresh() argument
126 static void dctcp_ce_state_0_to_1(struct sock *sk) dctcp_ce_state_0_to_1() argument
156 static void dctcp_ce_state_1_to_0(struct sock *sk) dctcp_ce_state_1_to_0() argument
186 static void dctcp_update_alpha(struct sock *sk, u32 flags) dctcp_update_alpha() argument
225 static void dctcp_state(struct sock *sk, u8 new_state) dctcp_state() argument
242 static void dctcp_update_ack_reserved(struct sock *sk, enum tcp_ca_event ev) dctcp_update_ack_reserved() argument
261 static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) dctcp_cwnd_event() argument
280 static size_t dctcp_get_info(struct sock *sk, u32 ext, int *attr, dctcp_get_info() argument
H A Dtcp_hybla.c33 static inline void hybla_recalc_param (struct sock *sk) hybla_recalc_param() argument
45 static void hybla_init(struct sock *sk) hybla_init() argument
67 static void hybla_state(struct sock *sk, u8 ca_state) hybla_state() argument
89 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked) hybla_cong_avoid() argument
H A Dtcp_lp.c95 static void tcp_lp_init(struct sock *sk) tcp_lp_init() argument
118 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_lp_cong_avoid() argument
133 static u32 tcp_lp_remote_hz_estimator(struct sock *sk) tcp_lp_remote_hz_estimator() argument
186 static u32 tcp_lp_owd_calculator(struct sock *sk) tcp_lp_owd_calculator() argument
220 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) tcp_lp_rtt_sample() argument
263 static void tcp_lp_pkts_acked(struct sock *sk, u32 num_acked, s32 rtt_us) tcp_lp_pkts_acked() argument
H A Dtcp_vegas.c70 static void vegas_enable(struct sock *sk) vegas_enable() argument
86 static inline void vegas_disable(struct sock *sk) vegas_disable() argument
93 void tcp_vegas_init(struct sock *sk) tcp_vegas_init() argument
110 void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) tcp_vegas_pkts_acked() argument
133 void tcp_vegas_state(struct sock *sk, u8 ca_state) tcp_vegas_state() argument
151 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event) tcp_vegas_cwnd_event() argument
164 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_vegas_cong_avoid() argument
289 size_t tcp_vegas_get_info(struct sock *sk, u32 ext, int *attr, tcp_vegas_get_info() argument
H A Dtcp_veno.c44 static inline void veno_enable(struct sock *sk) veno_enable() argument
54 static inline void veno_disable(struct sock *sk) veno_disable() argument
62 static void tcp_veno_init(struct sock *sk) tcp_veno_init() argument
72 static void tcp_veno_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) tcp_veno_pkts_acked() argument
94 static void tcp_veno_state(struct sock *sk, u8 ca_state) tcp_veno_state() argument
111 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) tcp_veno_cwnd_event() argument
117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_veno_cong_avoid() argument
190 static u32 tcp_veno_ssthresh(struct sock *sk) tcp_veno_ssthresh() argument
H A Dtcp_westwood.c60 static void tcp_westwood_init(struct sock *sk) tcp_westwood_init() argument
102 static void tcp_westwood_pkts_acked(struct sock *sk, u32 cnt, s32 rtt) tcp_westwood_pkts_acked() argument
115 static void westwood_update_window(struct sock *sk) westwood_update_window() argument
161 static inline void westwood_fast_bw(struct sock *sk) westwood_fast_bw() argument
178 static inline u32 westwood_acked_count(struct sock *sk) westwood_acked_count() argument
215 static u32 tcp_westwood_bw_rttmin(const struct sock *sk) tcp_westwood_bw_rttmin() argument
223 static void tcp_westwood_ack(struct sock *sk, u32 ack_flags) tcp_westwood_ack() argument
238 static void tcp_westwood_event(struct sock *sk, enum tcp_ca_event event) tcp_westwood_event() argument
259 static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr, tcp_westwood_info() argument
H A Dtcp_yeah.c42 static void tcp_yeah_init(struct sock *sk) tcp_yeah_init() argument
59 static void tcp_yeah_pkts_acked(struct sock *sk, u32 pkts_acked, s32 rtt_us) tcp_yeah_pkts_acked() argument
70 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_yeah_cong_avoid() argument
204 static u32 tcp_yeah_ssthresh(struct sock *sk) tcp_yeah_ssthresh() argument
H A Dudp_diag.c20 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, sk_diag_dump() argument
39 struct sock *sk; udp_dump_one() local
106 struct sock *sk; udp_dump() local
161 static void udp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, udp_diag_get_info() argument
H A Dsyncookies.c195 __u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb, cookie_v4_init_sequence() argument
222 static struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb, get_cookie_sock() argument
291 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb) cookie_v4_check() argument
H A Dtcp_cong.c150 void tcp_assign_congestion_control(struct sock *sk) tcp_assign_congestion_control() argument
175 void tcp_init_congestion_control(struct sock *sk) tcp_init_congestion_control() argument
183 static void tcp_reinit_congestion_control(struct sock *sk, tcp_reinit_congestion_control() argument
197 void tcp_cleanup_congestion_control(struct sock *sk) tcp_cleanup_congestion_control() argument
327 int tcp_set_congestion_control(struct sock *sk, const char *name) tcp_set_congestion_control() argument
408 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_reno_cong_avoid() argument
427 u32 tcp_reno_ssthresh(struct sock *sk) tcp_reno_ssthresh() argument
H A Dtcp_cubic.c129 static inline void bictcp_hystart_reset(struct sock *sk) bictcp_hystart_reset() argument
140 static void bictcp_init(struct sock *sk) bictcp_init() argument
154 static void bictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) bictcp_cwnd_event() argument
336 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) bictcp_cong_avoid() argument
355 static u32 bictcp_recalc_ssthresh(struct sock *sk) bictcp_recalc_ssthresh() argument
374 static u32 bictcp_undo_cwnd(struct sock *sk) bictcp_undo_cwnd() argument
381 static void bictcp_state(struct sock *sk, u8 new_state) bictcp_state() argument
389 static void hystart_update(struct sock *sk, u32 delay) hystart_update() argument
440 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt_us) bictcp_acked() argument
H A Dtcp_fastopen.c127 static bool tcp_fastopen_create_child(struct sock *sk, tcp_fastopen_create_child() argument
224 static bool tcp_fastopen_queue_check(struct sock *sk) tcp_fastopen_queue_check() argument
264 bool tcp_try_fastopen(struct sock *sk, struct sk_buff *skb, tcp_try_fastopen() argument
H A Dtcp_htcp.c67 static u32 htcp_cwnd_undo(struct sock *sk) htcp_cwnd_undo() argument
82 static inline void measure_rtt(struct sock *sk, u32 srtt) measure_rtt() argument
101 static void measure_achieved_throughput(struct sock *sk, measure_achieved_throughput() argument
208 static void htcp_param_update(struct sock *sk) htcp_param_update() argument
222 static u32 htcp_recalc_ssthresh(struct sock *sk) htcp_recalc_ssthresh() argument
231 static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) htcp_cong_avoid() argument
257 static void htcp_init(struct sock *sk) htcp_init() argument
268 static void htcp_state(struct sock *sk, u8 new_state) htcp_state() argument
H A Dtcp_illinois.c56 static void rtt_reset(struct sock *sk) rtt_reset() argument
68 static void tcp_illinois_init(struct sock *sk) tcp_illinois_init() argument
85 static void tcp_illinois_acked(struct sock *sk, u32 pkts_acked, s32 rtt) tcp_illinois_acked() argument
220 static void update_params(struct sock *sk) update_params() argument
242 static void tcp_illinois_state(struct sock *sk, u8 new_state) tcp_illinois_state() argument
258 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked) tcp_illinois_cong_avoid() argument
293 static u32 tcp_illinois_ssthresh(struct sock *sk) tcp_illinois_ssthresh() argument
303 static size_t tcp_illinois_info(struct sock *sk, u32 ext, int *attr, tcp_illinois_info() argument
H A Dtcp_minisocks.c269 void tcp_time_wait(struct sock *sk, int state, int timeo) tcp_time_wait() argument
355 void tcp_twsk_destructor(struct sock *sk) tcp_twsk_destructor() argument
403 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst) tcp_ca_openreq_child() argument
438 struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, struct sk_buff *skb) tcp_create_openreq_child() argument
558 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb, tcp_check_req() argument
366 tcp_openreq_init_rwin(struct request_sock *req, struct sock *sk, struct dst_entry *dst) tcp_openreq_init_rwin() argument
H A Dtcp_probe.c107 static void jtcp_rcv_established(struct sock *sk, struct sk_buff *skb, jtcp_rcv_established() argument
H A Dtcp_timer.c35 static void tcp_write_err(struct sock *sk) tcp_write_err() argument
55 static int tcp_out_of_resources(struct sock *sk, bool do_reset) tcp_out_of_resources() argument
86 static int tcp_orphan_retries(struct sock *sk, int alive) tcp_orphan_retries() argument
102 static void tcp_mtu_probing(struct inet_connection_sock *icsk, struct sock *sk) tcp_mtu_probing() argument
131 static bool retransmits_timed_out(struct sock *sk, retransmits_timed_out() argument
159 static int tcp_write_timeout(struct sock *sk) tcp_write_timeout() argument
219 void tcp_delack_timer_handler(struct sock *sk) tcp_delack_timer_handler() argument
268 struct sock *sk = (struct sock *)data; tcp_delack_timer() local
284 static void tcp_probe_timer(struct sock *sk) tcp_probe_timer() argument
334 static void tcp_fastopen_synack_timer(struct sock *sk) tcp_fastopen_synack_timer() argument
363 void tcp_retransmit_timer(struct sock *sk) tcp_retransmit_timer() argument
502 void tcp_write_timer_handler(struct sock *sk) tcp_write_timer_handler() argument
540 struct sock *sk = (struct sock *)data; tcp_write_timer() local
562 void tcp_set_keepalive(struct sock *sk, int val) tcp_set_keepalive() argument
576 struct sock *sk = (struct sock *) data; tcp_keepalive_timer() local
659 void tcp_init_xmit_timers(struct sock *sk) tcp_init_xmit_timers() argument
H A Dxfrm4_policy.c197 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, xfrm4_update_pmtu() argument
206 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, xfrm4_redirect() argument
/linux-4.1.27/net/atm/
H A Draw.c25 struct sock *sk = sk_atm(vcc); atm_push_raw() local
34 struct sock *sk = sk_atm(vcc); atm_pop_raw() local
H A Datm_misc.c28 struct sock *sk = sk_atm(vcc); atm_alloc_charge() local
H A Dpvc.c29 struct sock *sk = sock->sk; pvc_bind() local
67 struct sock *sk = sock->sk; pvc_setsockopt() local
79 struct sock *sk = sock->sk; pvc_getsockopt() local
H A Dsignaling.c67 struct sock *sk; sigd_send() local
H A Dioctl.c53 struct sock *sk = sock->sk; do_vcc_ioctl() local
H A Dsvc.c49 struct sock *sk = sk_atm(vcc); svc_disconnect() local
76 struct sock *sk = sock->sk; svc_release() local
98 struct sock *sk = sock->sk; svc_bind() local
154 struct sock *sk = sock->sk; svc_connect() local
284 struct sock *sk = sock->sk; svc_listen() local
323 struct sock *sk = sock->sk; svc_accept() local
433 struct sock *sk = sk_atm(vcc); svc_change_qos() local
455 struct sock *sk = sock->sk; svc_setsockopt() local
500 struct sock *sk = sock->sk; svc_getsockopt() local
529 struct sock *sk = sock->sk; svc_addparty() local
558 struct sock *sk = sock->sk; svc_dropparty() local
/linux-4.1.27/net/rds/
H A Dtcp_connect.c40 void rds_tcp_state_change(struct sock *sk) rds_tcp_state_change() argument
H A Dtcp_listen.c157 void rds_tcp_listen_data_ready(struct sock *sk) rds_tcp_listen_data_ready() argument
225 struct sock *sk; rds_tcp_listen_stop() local
H A Dbind.c164 struct sock *sk = sock->sk; rds_bind() local
H A Dtcp_send.c171 void rds_tcp_write_space(struct sock *sk) rds_tcp_write_space() argument
H A Dtcp.c69 struct sock *sk = sock->sk; rds_tcp_tune() local
H A Dtcp_recv.c304 void rds_tcp_data_ready(struct sock *sk) rds_tcp_data_ready() argument
H A Daf_rds.c69 struct sock *sk = sock->sk; rds_release() local
173 struct sock *sk = sock->sk; rds_poll() local
352 struct sock *sk = sock->sk; rds_connect() local
409 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) __rds_create() argument
438 struct sock *sk; rds_create() local
H A Drecv.c69 static void rds_recv_rcvbuf_delta(struct rds_sock *rs, struct sock *sk, rds_recv_rcvbuf_delta() argument
161 struct sock *sk; rds_recv_incoming() local
270 struct sock *sk = rds_rs_to_sk(rs); rds_still_queued() local
401 struct sock *sk = sock->sk; rds_recvmsg() local
508 struct sock *sk = rds_rs_to_sk(rs); rds_clear_recv_queue() local
H A Dsend.c954 struct sock *sk = sock->sk; rds_sendmsg() local
/linux-4.1.27/net/rose/
H A Drose_out.c33 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb) rose_send_iframe() argument
48 void rose_kick(struct sock *sk) rose_kick() argument
112 void rose_enquiry_response(struct sock *sk) rose_enquiry_response() argument
H A Drose_in.c39 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) rose_state1_machine() argument
76 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) rose_state2_machine() argument
104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) rose_state3_machine() argument
214 static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) rose_state4_machine() argument
251 static int rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype) rose_state5_machine() argument
263 int rose_process_rx_frame(struct sock *sk, struct sk_buff *skb) rose_process_rx_frame() argument
H A Drose_timer.c35 void rose_start_heartbeat(struct sock *sk) rose_start_heartbeat() argument
46 void rose_start_t1timer(struct sock *sk) rose_start_t1timer() argument
59 void rose_start_t2timer(struct sock *sk) rose_start_t2timer() argument
72 void rose_start_t3timer(struct sock *sk) rose_start_t3timer() argument
85 void rose_start_hbtimer(struct sock *sk) rose_start_hbtimer() argument
98 void rose_start_idletimer(struct sock *sk) rose_start_idletimer() argument
113 void rose_stop_heartbeat(struct sock *sk) rose_stop_heartbeat() argument
118 void rose_stop_timer(struct sock *sk) rose_stop_timer() argument
123 void rose_stop_idletimer(struct sock *sk) rose_stop_idletimer() argument
130 struct sock *sk = (struct sock *)param; rose_heartbeat_expiry() local
168 struct sock *sk = (struct sock *)param; rose_timer_expiry() local
197 struct sock *sk = (struct sock *)param; rose_idletimer_expiry() local
H A Drose_loopback.c71 struct sock *sk; rose_loopback_timer() local
H A Drose_subr.c35 void rose_clear_queues(struct sock *sk) rose_clear_queues() argument
46 void rose_frames_acked(struct sock *sk, unsigned short nr) rose_frames_acked() argument
63 void rose_requeue_frames(struct sock *sk) rose_requeue_frames() argument
85 int rose_validate_nr(struct sock *sk, unsigned short nr) rose_validate_nr() argument
102 void rose_write_internal(struct sock *sk, int frametype) rose_write_internal() argument
530 void rose_disconnect(struct sock *sk, int reason, int cause, int diagnostic) rose_disconnect() argument
/linux-4.1.27/net/sunrpc/
H A Dsunrpc.h46 static inline int sock_is_loopback(struct sock *sk) sock_is_loopback() argument
/linux-4.1.27/net/core/
H A Drequest_sock.c171 void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req, reqsk_fastopen_remove() argument
H A Dstream.c28 void sk_stream_write_space(struct sock *sk) sk_stream_write_space() argument
55 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) sk_stream_wait_connect() argument
89 static inline int sk_stream_closing(struct sock *sk) sk_stream_closing() argument
95 void sk_stream_wait_close(struct sock *sk, long timeout) sk_stream_wait_close() argument
117 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) sk_stream_wait_memory() argument
176 int sk_stream_error(struct sock *sk, int flags, int err) sk_stream_error() argument
186 void sk_stream_kill_queues(struct sock *sk) sk_stream_kill_queues() argument
H A Dsock_diag.c16 static u64 sock_gen_cookie(struct sock *sk) sock_gen_cookie() argument
28 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie) sock_diag_check_cookie() argument
43 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie) sock_diag_save_cookie() argument
52 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype) sock_diag_put_meminfo() argument
69 int sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk, sock_diag_put_filterinfo() argument
H A Ddst.c145 int dst_discard_sk(struct sock *sk, struct sk_buff *skb) dst_discard_sk() argument
H A Dflow_dissector.c453 struct sock *sk = skb->sk; __netdev_pick_tx() local
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_defrag_ipv4.c68 struct sock *sk = skb->sk; ipv4_conntrack_defrag() local
H A Dnf_conntrack_l3proto_ipv4.c257 getorigdst(struct sock *sk, int optval, void __user *user, int *len) getorigdst() argument
/linux-4.1.27/net/llc/
H A Dllc_if.c42 int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb) llc_build_and_send_pkt() argument
79 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) llc_establish_connection() argument
125 int llc_send_disc(struct sock *sk) llc_send_disc() argument
H A Dllc_proc.c37 struct sock *sk = NULL; llc_get_sk_idx() local
70 struct sock *sk = NULL; laddr_hash_next() local
82 struct sock* sk, *next; llc_seq_next() local
117 struct sock *sk = v; llc_seq_stop() local
128 struct sock* sk; llc_seq_socket_show() local
177 struct sock* sk; llc_seq_core_show() local
H A Dllc_sap.c47 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev, llc_alloc_frame() argument
69 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim) llc_save_primitive() argument
395 struct sock *sk, *stack[count]; llc_sap_mcast() local
432 struct sock *sk = llc_lookup_dgram(sap, &laddr); llc_sap_handler() local
286 llc_sap_rcv(struct llc_sap *sap, struct sk_buff *skb, struct sock *sk) llc_sap_rcv() argument
297 llc_dgram_match(const struct llc_sap *sap, const struct llc_addr *laddr, const struct sock *sk) llc_dgram_match() argument
352 llc_mcast_match(const struct llc_sap *sap, const struct llc_addr *laddr, const struct sk_buff *skb, const struct sock *sk) llc_mcast_match() argument
/linux-4.1.27/net/rxrpc/
H A Dar-error.c28 void rxrpc_UDP_error_report(struct sock *sk) rxrpc_UDP_error_report() argument
H A Dar-input.c47 struct sock *sk; rxrpc_queue_rcv_skb() local
642 void rxrpc_data_ready(struct sock *sk) rxrpc_data_ready() argument
H A Daf_rxrpc.c55 static inline int rxrpc_writable(struct sock *sk) rxrpc_writable() argument
63 static void rxrpc_write_space(struct sock *sk) rxrpc_write_space() argument
125 struct sock *sk = sock->sk; rxrpc_bind() local
190 struct sock *sk = sock->sk; rxrpc_listen() local
377 struct sock *sk = sock->sk; rxrpc_connect() local
592 struct sock *sk = sock->sk; rxrpc_poll() local
618 struct sock *sk; rxrpc_create() local
662 static void rxrpc_sock_destructor(struct sock *sk) rxrpc_sock_destructor() argument
681 static int rxrpc_release_sock(struct sock *sk) rxrpc_release_sock() argument
741 struct sock *sk = sock->sk; rxrpc_release() local
H A Dar-output.c526 struct sock *sk = &rx->sk; rxrpc_send_data() local
/linux-4.1.27/net/x25/
H A Dx25_timer.c32 void x25_init_timers(struct sock *sk) x25_init_timers() argument
43 void x25_start_heartbeat(struct sock *sk) x25_start_heartbeat() argument
48 void x25_stop_heartbeat(struct sock *sk) x25_stop_heartbeat() argument
53 void x25_start_t2timer(struct sock *sk) x25_start_t2timer() argument
60 void x25_start_t21timer(struct sock *sk) x25_start_t21timer() argument
67 void x25_start_t22timer(struct sock *sk) x25_start_t22timer() argument
74 void x25_start_t23timer(struct sock *sk) x25_start_t23timer() argument
81 void x25_stop_timer(struct sock *sk) x25_stop_timer() argument
86 unsigned long x25_display_timer(struct sock *sk) x25_display_timer() argument
98 struct sock *sk = (struct sock *)param; x25_heartbeat_expiry() local
137 static inline void x25_do_timer_expiry(struct sock * sk) x25_do_timer_expiry() argument
165 struct sock *sk = (struct sock *)param; x25_timer_expiry() local
H A Dx25_dev.c33 struct sock *sk; x25_receive_data() local
H A Dx25_facilities.c270 int x25_negotiate_facilities(struct sk_buff *skb, struct sock *sk, x25_negotiate_facilities() argument
H A Dx25_in.c37 static int x25_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) x25_queue_rx_frame() argument
92 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) x25_state1_machine() argument
171 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) x25_state2_machine() argument
204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) x25_state3_machine() argument
340 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) x25_state4_machine() argument
381 int x25_process_rx_frame(struct sock *sk, struct sk_buff *skb) x25_process_rx_frame() argument
411 int x25_backlog_rcv(struct sock *sk, struct sk_buff *skb) x25_backlog_rcv() argument
H A Dx25_out.c52 int x25_output(struct sock *sk, struct sk_buff *skb) x25_output() argument
121 static void x25_send_iframe(struct sock *sk, struct sk_buff *skb) x25_send_iframe() argument
141 void x25_kick(struct sock *sk) x25_kick() argument
218 void x25_enquiry_response(struct sock *sk) x25_enquiry_response() argument
H A Dx25_subr.c39 void x25_clear_queues(struct sock *sk) x25_clear_queues() argument
56 void x25_frames_acked(struct sock *sk, unsigned short nr) x25_frames_acked() argument
73 void x25_requeue_frames(struct sock *sk) x25_requeue_frames() argument
95 int x25_validate_nr(struct sock *sk, unsigned short nr) x25_validate_nr() argument
114 void x25_write_internal(struct sock *sk, int frametype) x25_write_internal() argument
270 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, x25_decode() argument
349 void x25_disconnect(struct sock *sk, int reason, unsigned char cause, x25_disconnect() argument
377 void x25_check_rbuf(struct sock *sk) x25_check_rbuf() argument
/linux-4.1.27/include/linux/can/
H A Dskb.h49 static inline void can_skb_set_owner(struct sk_buff *skb, struct sock *sk) can_skb_set_owner() argument
/linux-4.1.27/include/net/phonet/
H A Dphonet.h37 struct sock sk; member in struct:pn_sock
43 static inline struct pn_sock *pn_sk(struct sock *sk) pn_sk() argument
/linux-4.1.27/net/bridge/
H A Dbr_nf_core.c28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, fake_update_pmtu() argument
33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, fake_redirect() argument
H A Dbr_forward.c38 int br_dev_queue_push_xmit(struct sock *sk, struct sk_buff *skb) br_dev_queue_push_xmit() argument
53 int br_forward_finish(struct sock *sk, struct sk_buff *skb) br_forward_finish() argument
H A Dbr_input.c123 int br_handle_frame_finish(struct sock *sk, struct sk_buff *skb) br_handle_frame_finish() argument
211 static int br_handle_local_finish(struct sock *sk, struct sk_buff *skb) br_handle_local_finish() argument
/linux-4.1.27/net/dccp/
H A Ddiag.c19 static void dccp_get_info(struct sock *sk, struct tcp_info *info) dccp_get_info() argument
42 static void dccp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, dccp_diag_get_info() argument
H A Dminisocks.c35 void dccp_time_wait(struct sock *sk, int state, int timeo) dccp_time_wait() argument
75 struct sock *dccp_create_openreq_child(struct sock *sk, dccp_create_openreq_child() argument
141 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, dccp_check_req() argument
239 void dccp_reqsk_send_ack(struct sock *sk, struct sk_buff *skb, dccp_reqsk_send_ack() argument
H A Dqpolicy.c18 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) qpolicy_simple_push() argument
23 static bool qpolicy_simple_full(struct sock *sk) qpolicy_simple_full() argument
29 static struct sk_buff *qpolicy_simple_top(struct sock *sk) qpolicy_simple_top() argument
39 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) qpolicy_prio_best_skb() argument
49 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) qpolicy_prio_worst_skb() argument
59 static bool qpolicy_prio_full(struct sock *sk) qpolicy_prio_full() argument
96 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) dccp_qpolicy_push() argument
101 bool dccp_qpolicy_full(struct sock *sk) dccp_qpolicy_full() argument
106 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) dccp_qpolicy_drop() argument
114 struct sk_buff *dccp_qpolicy_top(struct sock *sk) dccp_qpolicy_top() argument
119 struct sk_buff *dccp_qpolicy_pop(struct sock *sk) dccp_qpolicy_pop() argument
131 bool dccp_qpolicy_param_ok(struct sock *sk, __be32 param) dccp_qpolicy_param_ok() argument
H A Dtimer.c24 static void dccp_write_err(struct sock *sk) dccp_write_err() argument
35 static int dccp_write_timeout(struct sock *sk) dccp_write_timeout() argument
87 static void dccp_retransmit_timer(struct sock *sk) dccp_retransmit_timer() argument
130 struct sock *sk = (struct sock *)data; dccp_write_timer() local
166 struct sock *sk = (struct sock *)data; dccp_keepalive_timer() local
175 struct sock *sk = (struct sock *)data; dccp_delack_timer() local
225 struct sock *sk = (struct sock *)data; dccp_write_xmitlet() local
241 void dccp_init_xmit_timers(struct sock *sk) dccp_init_xmit_timers() argument
H A Dccid.c63 int ccid_getsockopt_builtin_ccids(struct sock *sk, int len, ccid_getsockopt_builtin_ccids() argument
144 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) ccid_new() argument
177 void ccid_hc_rx_delete(struct ccid *ccid, struct sock *sk) ccid_hc_rx_delete() argument
186 void ccid_hc_tx_delete(struct ccid *ccid, struct sock *sk) ccid_hc_tx_delete() argument
H A Dinput.c26 static void dccp_enqueue_skb(struct sock *sk, struct sk_buff *skb) dccp_enqueue_skb() argument
34 static void dccp_fin(struct sock *sk, struct sk_buff *skb) dccp_fin() argument
47 static int dccp_rcv_close(struct sock *sk, struct sk_buff *skb) dccp_rcv_close() argument
93 static int dccp_rcv_closereq(struct sock *sk, struct sk_buff *skb) dccp_rcv_closereq() argument
149 static void dccp_rcv_reset(struct sock *sk, struct sk_buff *skb) dccp_rcv_reset() argument
163 static void dccp_handle_ackvec_processing(struct sock *sk, struct sk_buff *skb) dccp_handle_ackvec_processing() argument
174 static void dccp_deliver_input_to_ccids(struct sock *sk, struct sk_buff *skb) dccp_deliver_input_to_ccids() argument
189 static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb) dccp_check_seqno() argument
287 static int __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, __dccp_rcv_established() argument
368 int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, dccp_rcv_established() argument
388 static int dccp_rcv_request_sent_state_process(struct sock *sk, dccp_rcv_request_sent_state_process() argument
521 static int dccp_rcv_respond_partopen_state_process(struct sock *sk, dccp_rcv_respond_partopen_state_process() argument
574 int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, dccp_rcv_state_process() argument
717 u32 dccp_sample_rtt(struct sock *sk, long delta) dccp_sample_rtt() argument
H A Dprobe.c75 static int jdccp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) jdccp_sendmsg() argument
H A Dccid.h166 static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk, ccid_hc_tx_send_packet() argument
174 static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk, ccid_hc_tx_packet_sent() argument
181 static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk, ccid_hc_rx_packet_recv() argument
188 static inline void ccid_hc_tx_packet_recv(struct ccid *ccid, struct sock *sk, ccid_hc_tx_packet_recv() argument
202 static inline int ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk, ccid_hc_tx_parse_options() argument
214 static inline int ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk, ccid_hc_rx_parse_options() argument
222 static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk, ccid_hc_rx_insert_options() argument
230 static inline void ccid_hc_rx_get_info(struct ccid *ccid, struct sock *sk, ccid_hc_rx_get_info() argument
237 static inline void ccid_hc_tx_get_info(struct ccid *ccid, struct sock *sk, ccid_hc_tx_get_info() argument
244 static inline int ccid_hc_rx_getsockopt(struct ccid *ccid, struct sock *sk, ccid_hc_rx_getsockopt() argument
255 static inline int ccid_hc_tx_getsockopt(struct ccid *ccid, struct sock *sk, ccid_hc_tx_getsockopt() argument
H A Doptions.c51 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, dccp_parse_options() argument
312 static int dccp_insert_option_ndp(struct sock *sk, struct sk_buff *skb) dccp_insert_option_ndp() argument
399 static int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb) dccp_insert_option_ackvec() argument
549 int dccp_insert_options(struct sock *sk, struct sk_buff *skb) dccp_insert_options() argument
H A Doutput.c25 static inline void dccp_event_ack_sent(struct sock *sk) dccp_event_ack_sent() argument
31 static struct sk_buff *dccp_skb_entail(struct sock *sk, struct sk_buff *skb) dccp_skb_entail() argument
45 static int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb) dccp_transmit_skb() argument
162 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) dccp_sync_mss() argument
198 void dccp_write_space(struct sock *sk) dccp_write_space() argument
220 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) dccp_wait_for_ccid() argument
244 static void dccp_xmit_packet(struct sock *sk) dccp_xmit_packet() argument
307 void dccp_flush_write_queue(struct sock *sk, long *time_budget) dccp_flush_write_queue() argument
346 void dccp_write_xmit(struct sock *sk) dccp_write_xmit() argument
380 int dccp_retransmit_skb(struct sock *sk) dccp_retransmit_skb() argument
393 struct sk_buff *dccp_make_response(struct sock *sk, struct dst_entry *dst, dccp_make_response() argument
451 struct sk_buff *dccp_ctl_make_reset(struct sock *sk, struct sk_buff *rcv_skb) dccp_ctl_make_reset() argument
503 int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code) dccp_send_reset() argument
530 int dccp_connect(struct sock *sk) dccp_connect() argument
570 void dccp_send_ack(struct sock *sk) dccp_send_ack() argument
628 void dccp_send_sync(struct sock *sk, const u64 ackno, dccp_send_sync() argument
665 void dccp_send_close(struct sock *sk, const int active) dccp_send_close() argument
/linux-4.1.27/net/ipv6/
H A Dxfrm6_output.c33 struct sock *sk = skb->sk; xfrm6_local_dontfrag() local
50 struct sock *sk = skb->sk; xfrm6_local_rxpmtu() local
62 struct sock *sk = skb->sk; xfrm6_local_error() local
123 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb) xfrm6_output_finish() argument
134 static int __xfrm6_output(struct sock *sk, struct sk_buff *skb) __xfrm6_output() argument
169 int xfrm6_output(struct sock *sk, struct sk_buff *skb) xfrm6_output() argument
H A Dip6_input.c49 int ip6_rcv_finish(struct sock *sk, struct sk_buff *skb) ip6_rcv_finish() argument
201 static int ip6_input_finish(struct sock *sk, struct sk_buff *skb) ip6_input_finish() argument
H A Dip6_udp_tunnel.c65 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, udp_tunnel6_xmit_skb() argument
H A Dnetfilter.c120 const void *sk = strict ? &fake_sk : NULL; nf_ip6_route() local
H A Doutput_core.c139 static int __ip6_local_out_sk(struct sock *sk, struct sk_buff *skb) __ip6_local_out_sk() argument
159 int ip6_local_out_sk(struct sock *sk, struct sk_buff *skb) ip6_local_out_sk() argument
H A Danycast.c53 int ipv6_sock_ac_join(struct sock *sk, int ifindex, const struct in6_addr *addr) ipv6_sock_ac_join() argument
142 int ipv6_sock_ac_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) ipv6_sock_ac_drop() argument
173 void ipv6_sock_ac_close(struct sock *sk) ipv6_sock_ac_close() argument
H A Dinet6_connection_sock.c30 int inet6_csk_bind_conflict(const struct sock *sk, inet6_csk_bind_conflict() argument
68 struct dst_entry *inet6_csk_route_req(struct sock *sk, inet6_csk_route_req() argument
117 struct request_sock *inet6_csk_search_req(struct sock *sk, inet6_csk_search_req() argument
149 void inet6_csk_reqsk_queue_hash_add(struct sock *sk, inet6_csk_reqsk_queue_hash_add() argument
164 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr) inet6_csk_addr2sockaddr() argument
179 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, __inet6_csk_dst_store() argument
187 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) __inet6_csk_dst_check() argument
192 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, inet6_csk_route_socket() argument
226 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl_unused) inet6_csk_xmit() argument
254 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) inet6_csk_update_pmtu() argument
H A Dinet6_hashtables.c59 struct sock *sk; __inet6_lookup_established() local
96 static inline int compute_score(struct sock *sk, struct net *net, compute_score() argument
126 struct sock *sk; inet6_lookup_listener() local
182 struct sock *sk; inet6_lookup() local
260 static inline u32 inet6_sk_port_offset(const struct sock *sk) inet6_sk_port_offset() argument
192 __inet6_check_established(struct inet_timewait_death_row *death_row, struct sock *sk, const __u16 lport, struct inet_timewait_sock **twp) __inet6_check_established() argument
269 inet6_hash_connect(struct inet_timewait_death_row *death_row, struct sock *sk) inet6_hash_connect() argument
H A Dipv6_sockglue.c61 int ip6_ra_control(struct sock *sk, int sel) ip6_ra_control() argument
102 struct ipv6_txoptions *ipv6_update_options(struct sock *sk, ipv6_update_options() argument
140 static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, do_ipv6_setsockopt() argument
884 int ipv6_setsockopt(struct sock *sk, int level, int optname, ipv6_setsockopt() argument
911 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, compat_ipv6_setsockopt() argument
946 static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_txoptions *opt, ipv6_getsockopt_sticky() argument
980 static int do_ipv6_getsockopt(struct sock *sk, int level, int optname, do_ipv6_getsockopt() argument
1321 int ipv6_getsockopt(struct sock *sk, int level, int optname, ipv6_getsockopt() argument
1354 int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, compat_ipv6_getsockopt() argument
H A Dmip6.c86 static int mip6_mh_filter(struct sock *sk, struct sk_buff *skb) mip6_mh_filter() argument
H A Dping.c59 static int dummy_ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, dummy_ipv6_recv_error() argument
64 static void dummy_ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, dummy_ip6_datagram_recv_ctl() argument
72 static void dummy_ipv6_icmp_error(struct sock *sk, struct sk_buff *skb, int err, dummy_ipv6_icmp_error() argument
80 int ping_v6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) ping_v6_sendmsg() argument
H A Dsyncookies.c44 static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb, get_cookie_sock() argument
134 __u32 cookie_v6_init_sequence(struct sock *sk, const struct sk_buff *skb, __u16 *mssp) cookie_v6_init_sequence() argument
156 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb) cookie_v6_check() argument
H A Dxfrm6_policy.c233 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, xfrm6_update_pmtu() argument
242 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, xfrm6_redirect() argument
/linux-4.1.27/net/netrom/
H A Dnr_in.c32 static int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) nr_queue_rx_frame() argument
74 static int nr_state1_machine(struct sock *sk, struct sk_buff *skb, nr_state1_machine() argument
118 static int nr_state2_machine(struct sock *sk, struct sk_buff *skb, nr_state2_machine() argument
149 static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) nr_state3_machine() argument
280 int nr_process_rx_frame(struct sock *sk, struct sk_buff *skb) nr_process_rx_frame() argument
H A Dnr_timer.c38 void nr_init_timers(struct sock *sk) nr_init_timers() argument
52 void nr_start_t1timer(struct sock *sk) nr_start_t1timer() argument
59 void nr_start_t2timer(struct sock *sk) nr_start_t2timer() argument
66 void nr_start_t4timer(struct sock *sk) nr_start_t4timer() argument
73 void nr_start_idletimer(struct sock *sk) nr_start_idletimer() argument
81 void nr_start_heartbeat(struct sock *sk) nr_start_heartbeat() argument
86 void nr_stop_t1timer(struct sock *sk) nr_stop_t1timer() argument
91 void nr_stop_t2timer(struct sock *sk) nr_stop_t2timer() argument
96 void nr_stop_t4timer(struct sock *sk) nr_stop_t4timer() argument
101 void nr_stop_idletimer(struct sock *sk) nr_stop_idletimer() argument
106 void nr_stop_heartbeat(struct sock *sk) nr_stop_heartbeat() argument
111 int nr_t1timer_running(struct sock *sk) nr_t1timer_running() argument
118 struct sock *sk = (struct sock *)param; nr_heartbeat_expiry() local
157 struct sock *sk = (struct sock *)param; nr_t2timer_expiry() local
170 struct sock *sk = (struct sock *)param; nr_t4timer_expiry() local
179 struct sock *sk = (struct sock *)param; nr_idletimer_expiry() local
207 struct sock *sk = (struct sock *)param; nr_t1timer_expiry() local
H A Dnr_out.c35 void nr_output(struct sock *sk, struct sk_buff *skb) nr_output() argument
82 static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) nr_send_iframe() argument
100 void nr_send_nak_frame(struct sock *sk) nr_send_nak_frame() argument
125 void nr_kick(struct sock *sk) nr_kick() argument
188 void nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) nr_transmit_buffer() argument
223 void nr_establish_data_link(struct sock *sk) nr_establish_data_link() argument
241 void nr_enquiry_response(struct sock *sk) nr_enquiry_response() argument
259 void nr_check_iframes_acked(struct sock *sk, unsigned short nr) nr_check_iframes_acked() argument
H A Dnr_subr.c34 void nr_clear_queues(struct sock *sk) nr_clear_queues() argument
49 void nr_frames_acked(struct sock *sk, unsigned short nr) nr_frames_acked() argument
71 void nr_requeue_frames(struct sock *sk) nr_requeue_frames() argument
88 int nr_validate_nr(struct sock *sk, unsigned short nr) nr_validate_nr() argument
104 int nr_in_rx_window(struct sock *sk, unsigned short ns) nr_in_rx_window() argument
122 void nr_write_internal(struct sock *sk, int frametype) nr_write_internal() argument
262 void nr_disconnect(struct sock *sk, int reason) nr_disconnect() argument
/linux-4.1.27/sound/usb/usx2y/
H A Dus122l.h9 struct usb_stream_kernel sk; member in struct:us122l
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_dtmf.c123 s32 sk, sk1, sk2; dsp_dtmf_goertzel_decode() local
H A Dstack.c67 struct sock *sk; send_socklist() local
H A Dsocket.c55 mISDN_sock_link(struct mISDN_sock_list *l, struct sock *sk) mISDN_sock_link() argument
62 static void mISDN_sock_unlink(struct mISDN_sock_list *l, struct sock *sk) mISDN_sock_unlink() argument
104 mISDN_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) mISDN_sock_cmsg() argument
119 struct sock *sk = sock->sk; mISDN_sock_recvmsg() local
178 struct sock *sk = sock->sk; mISDN_sock_sendmsg() local
248 struct sock *sk = sock->sk; data_sock_release() local
289 data_sock_ioctl_bound(struct sock *sk, unsigned int cmd, void __user *p) data_sock_ioctl_bound() argument
363 struct sock *sk = sock->sk; data_sock_ioctl() local
416 struct sock *sk = sock->sk; data_sock_setsockopt() local
448 struct sock *sk = sock->sk; data_sock_getsockopt() local
478 struct sock *sk = sock->sk; data_sock_bind() local
566 struct sock *sk = sock->sk; data_sock_getname() local
606 struct sock *sk; data_sock_create() local
631 struct sock *sk = sock->sk; base_sock_release() local
712 struct sock *sk = sock->sk; base_sock_bind() local
761 struct sock *sk; base_sock_create() local
/linux-4.1.27/drivers/net/ppp/
H A Dpppox.c57 void pppox_unbind_sock(struct sock *sk) pppox_unbind_sock() argument
73 struct sock *sk = sock->sk; pppox_ioctl() local
/linux-4.1.27/net/bluetooth/bnep/
H A Dnetdev.c54 struct sock *sk = s->sock->sk; bnep_net_set_mc_list() local
168 struct sock *sk = s->sock->sk; bnep_net_xmit() local
H A Dsock.c38 struct sock *sk = sock->sk; bnep_sock_release() local
198 struct sock *sk; bnep_sock_create() local
H A Dcore.c485 struct sock *sk = s->sock->sk; bnep_session() local
/linux-4.1.27/net/bluetooth/cmtp/
H A Dsock.c51 struct sock *sk = sock->sk; cmtp_sock_release() local
201 struct sock *sk; cmtp_sock_create() local
H A Dcore.c282 struct sock *sk = session->sock->sk; cmtp_session() local
/linux-4.1.27/net/dccp/ccids/lib/
H A Dloss_interval.c139 tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, u32 (*calc_first_li)(struct sock *), struct sock *sk) tfrc_lh_interval_add() argument
H A Dpacket_history.c326 tfrc_rx_handle_loss(struct tfrc_rx_hist *h, struct tfrc_loss_hist *lh, struct sk_buff *skb, const u64 ndp, u32 (*calc_first_li)(struct sock *), struct sock *sk) tfrc_rx_handle_loss() argument
/linux-4.1.27/net/netfilter/
H A Dnf_log_common.c135 void nf_log_dump_sk_uid_gid(struct nf_log_buf *m, struct sock *sk) nf_log_dump_sk_uid_gid() argument
H A Dnf_sockopt.c61 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, nf_sockopt_find() argument
92 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, nf_sockopt() argument
111 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, nf_setsockopt() argument
118 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, nf_getsockopt() argument
126 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, compat_nf_sockopt() argument
152 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, compat_nf_setsockopt() argument
159 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf, compat_nf_getsockopt() argument
H A Dxt_TPROXY.c43 static bool tproxy_sk_is_transparent(struct sock *sk) tproxy_sk_is_transparent() argument
114 struct sock *sk; nf_tproxy_get_sock_v4() local
178 struct sock *sk; nf_tproxy_get_sock_v6() local
286 nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk) nf_tproxy_assign_sock() argument
299 struct sock *sk; tproxy_tg4() local
455 struct sock *sk; tproxy_tg6_v1() local
253 tproxy_handle_time_wait4(struct sk_buff *skb, __be32 laddr, __be16 lport, struct sock *sk) tproxy_handle_time_wait4() argument
414 tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff, const struct xt_action_param *par, struct sock *sk) tproxy_handle_time_wait6() argument
H A Dxt_socket.c132 static bool xt_socket_sk_is_transparent(struct sock *sk) xt_socket_sk_is_transparent() argument
208 struct sock *sk = skb->sk; socket_match() local
377 struct sock *sk = skb->sk; socket_mt6_v1_v2() local
/linux-4.1.27/net/nfc/
H A Dnfc.h37 struct sock sk; member in struct:nfc_rawsock
H A Drawsock.c34 static void nfc_sock_link(struct nfc_sock_list *l, struct sock *sk) nfc_sock_link() argument
41 static void nfc_sock_unlink(struct nfc_sock_list *l, struct sock *sk) nfc_sock_unlink() argument
48 static void rawsock_write_queue_purge(struct sock *sk) rawsock_write_queue_purge() argument
58 static void rawsock_report_error(struct sock *sk, int err) rawsock_report_error() argument
71 struct sock *sk = sock->sk; rawsock_release() local
90 struct sock *sk = sock->sk; rawsock_connect() local
153 struct sock *sk = (struct sock *) context; rawsock_data_exchange_complete() local
190 struct sock *sk = to_rawsock_sk(work); rawsock_tx_work() local
216 struct sock *sk = sock->sk; rawsock_sendmsg() local
254 struct sock *sk = sock->sk; rawsock_recvmsg() local
318 static void rawsock_destruct(struct sock *sk) rawsock_destruct() argument
339 struct sock *sk; rawsock_create() local
373 struct sock *sk; nfc_send_to_raw_sock() local
/linux-4.1.27/net/phonet/
H A Ddatagram.c39 static void pn_sock_close(struct sock *sk, long timeout) pn_sock_close() argument
44 static int pn_ioctl(struct sock *sk, int cmd, unsigned long arg) pn_ioctl() argument
75 static void pn_destruct(struct sock *sk) pn_destruct() argument
80 static int pn_init(struct sock *sk) pn_init() argument
86 static int pn_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) pn_sendmsg() argument
127 static int pn_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, pn_recvmsg() argument
173 static int pn_backlog_rcv(struct sock *sk, struct sk_buff *skb) pn_backlog_rcv() argument
H A Dpep-gprs.c38 struct sock *sk; member in struct:gprs_dev
76 static void gprs_state_change(struct sock *sk) gprs_state_change() argument
149 static void gprs_data_ready(struct sock *sk) gprs_data_ready() argument
160 static void gprs_write_space(struct sock *sk) gprs_write_space() argument
189 struct sock *sk = gp->sk; gprs_xmit() local
258 int gprs_attach(struct sock *sk) gprs_attach() argument
312 void gprs_detach(struct sock *sk) gprs_detach() argument
H A Daf_phonet.c66 struct sock *sk; pn_socket_create() local
237 int pn_skb_send(struct sock *sk, struct sk_buff *skb, pn_skb_send() argument
265 struct sock *sk = pn_find_sock_by_res(net, res); pn_skb_send() local
408 struct sock *sk = pn_find_sock_by_res(net, sa.spn_resource); phonet_rcv() local
416 struct sock *sk = pn_find_sock_by_sa(net, &sa); phonet_rcv() local
/linux-4.1.27/net/xfrm/
H A Dxfrm_output.c147 static int xfrm_output2(struct sock *sk, struct sk_buff *skb) xfrm_output2() argument
152 static int xfrm_output_gso(struct sock *sk, struct sk_buff *skb) xfrm_output_gso() argument
183 int xfrm_output(struct sock *sk, struct sk_buff *skb) xfrm_output() argument
/linux-4.1.27/security/selinux/include/
H A Dnetlabel.h109 static inline int selinux_netlbl_conn_setsid(struct sock *sk, selinux_netlbl_conn_setsid() argument
120 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
124 static inline int selinux_netlbl_socket_post_create(struct sock *sk, selinux_netlbl_socket_post_create() argument
142 static inline int selinux_netlbl_socket_connect(struct sock *sk, selinux_netlbl_socket_connect() argument
/linux-4.1.27/crypto/
H A Dalgif_rng.c61 struct sock *sk = sock->sk; rng_recvmsg() local
127 static void rng_sock_destruct(struct sock *sk) rng_sock_destruct() argument
136 static int rng_accept_parent(void *private, struct sock *sk) rng_accept_parent() argument
H A Dtwofish_common.c594 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; __twofish_setkey() local
H A Dalgif_hash.c46 struct sock *sk = sock->sk; hash_sendmsg() local
107 struct sock *sk = sock->sk; hash_sendpage() local
152 struct sock *sk = sock->sk; hash_recvmsg() local
183 struct sock *sk = sock->sk; hash_accept() local
243 struct sock *sk = sock->sk; hash_check_key() local
384 static void hash_sock_destruct(struct sock *sk) hash_sock_destruct() argument
395 static int hash_accept_parent_nokey(void *private, struct sock *sk) hash_accept_parent_nokey() argument
431 static int hash_accept_parent(void *private, struct sock *sk) hash_accept_parent() argument
H A Daf_alg.c130 void af_alg_release_parent(struct sock *sk) af_alg_release_parent() argument
152 struct sock *sk = sock->sk; alg_bind() local
201 static int alg_setkey(struct sock *sk, char __user *ukey, alg_setkey() argument
228 struct sock *sk = sock->sk; alg_setsockopt() local
266 int af_alg_accept(struct sock *sk, struct socket *newsock) af_alg_accept() argument
351 static void alg_sock_destruct(struct sock *sk) alg_sock_destruct() argument
361 struct sock *sk; alg_create() local
H A Dalgif_aead.c56 static inline int aead_sndbuf(struct sock *sk) aead_sndbuf() argument
65 static inline bool aead_writable(struct sock *sk) aead_writable() argument
77 static void aead_put_sgl(struct sock *sk) aead_put_sgl() argument
98 static void aead_wmem_wakeup(struct sock *sk) aead_wmem_wakeup() argument
115 static int aead_wait_for_data(struct sock *sk, unsigned flags) aead_wait_for_data() argument
145 static void aead_data_wakeup(struct sock *sk) aead_data_wakeup() argument
168 struct sock *sk = sock->sk; aead_sendmsg() local
301 struct sock *sk = sock->sk; aead_sendpage() local
352 struct sock *sk = sock->sk; aead_recvmsg() local
525 struct sock *sk = sock->sk; aead_poll() local
584 static void aead_sock_destruct(struct sock *sk) aead_sock_destruct() argument
597 static int aead_accept_parent(void *private, struct sock *sk) aead_accept_parent() argument
/linux-4.1.27/include/net/irda/
H A Daf_irda.h41 struct sock sk; member in struct:irda_sock
82 static inline struct irda_sock *irda_sk(struct sock *sk) irda_sk() argument
/linux-4.1.27/include/linux/
H A Dudp.h76 static inline struct udp_sock *udp_sk(const struct sock *sk) udp_sk() argument
81 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) udp_set_no_check6_tx() argument
86 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) udp_set_no_check6_rx() argument
91 static inline bool udp_get_no_check6_tx(struct sock *sk) udp_get_no_check6_tx() argument
96 static inline bool udp_get_no_check6_rx(struct sock *sk) udp_get_no_check6_rx() argument
H A Dlsm_audit.h27 struct sock *sk; member in struct:lsm_network_audit
H A Dnetlink.h30 struct sock *sk; member in struct:netlink_skb_parms
H A Datalk.h36 struct sock sk; member in struct:atalk_sock
45 static inline struct atalk_sock *at_sk(struct sock *sk) at_sk() argument
H A Dif_pppox.h50 struct sock sk; member in struct:pppox_sock
64 static inline struct pppox_sock *pppox_sk(struct sock *sk) pppox_sk() argument
H A Dmroute.h43 int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg) ipmr_ioctl() argument
H A Dmroute6.h48 int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg) ip6mr_ioctl() argument
128 static inline int ip6mr_sk_done(struct sock *sk) ip6mr_sk_done() argument
/linux-4.1.27/net/ipx/
H A Dipx_proc.c137 struct sock* sk, *next; ipx_seq_socket_next() local
H A Dipx_route.c167 int ipxrtr_route_packet(struct sock *sk, struct sockaddr_ipx *usipx, ipxrtr_route_packet() argument
/linux-4.1.27/net/netlink/
H A Ddiag.c25 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) sk_diag_put_rings_cfg() argument
40 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) sk_diag_put_rings_cfg() argument
46 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) sk_diag_dump_groups() argument
57 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, sk_diag_fill() argument
111 struct sock *sk; __netlink_diag_dump() local
H A Daf_netlink.h27 struct sock sk; member in struct:netlink_sock
58 static inline struct netlink_sock *nlk_sk(struct sock *sk) nlk_sk() argument
/linux-4.1.27/net/packet/
H A Ddiag.c129 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, sk_diag_fill() argument
193 struct sock *sk; packet_diag_dump() local
/linux-4.1.27/net/sctp/
H A Dendpointola.c184 struct sctp_endpoint *sctp_endpoint_new(struct sock *sk, gfp_t gfp) sctp_endpoint_new() argument
209 struct sock *sk = ep->base.sk; sctp_endpoint_add_asoc() local
244 struct sock *sk; sctp_endpoint_destroy() local
410 struct sock *sk; sctp_endpoint_bh_rcv() local
57 sctp_endpoint_init(struct sctp_endpoint *ep, struct sock *sk, gfp_t gfp) sctp_endpoint_init() argument
H A Dbind_addr.c464 int sctp_is_any(struct sock *sk, const union sctp_addr *addr) sctp_is_any() argument
523 int sctp_is_ep_boundall(struct sock *sk) sctp_is_ep_boundall() argument
H A Doutput.c360 static void sctp_packet_set_owner_w(struct sk_buff *skb, struct sock *sk) sctp_packet_set_owner_w() argument
386 struct sock *sk; sctp_packet_transmit() local
H A Dproc.c214 struct sock *sk; sctp_eps_seq_show() local
322 struct sock *sk; sctp_assocs_seq_show() local
H A Dsysctl.c448 struct sock *sk = net->sctp.ctl_sock; proc_sctp_do_auth() local
H A Dtransport.c221 void sctp_transport_pmtu(struct sctp_transport *transport, struct sock *sk) sctp_transport_pmtu() argument
236 void sctp_transport_update_pmtu(struct sock *sk, struct sctp_transport *t, u32 pmtu) sctp_transport_update_pmtu() argument
/linux-4.1.27/net/unix/
H A Dgarbage.c176 struct sock *sk = unix_get_socket(*fp++); scan_inflight() local
H A Ddiag.c11 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) sk_diag_dump_name() argument
22 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) sk_diag_dump_vfs() argument
38 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) sk_diag_dump_peer() argument
56 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) sk_diag_dump_icons() argument
97 static int sk_diag_show_rqlen(struct sock *sk, struct sk_buff *nlskb) sk_diag_show_rqlen() argument
112 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, sk_diag_fill() argument
166 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, sk_diag_dump() argument
196 struct sock *sk; unix_diag_dump() local
226 struct sock *sk; unix_lookup_by_ino() local
248 struct sock *sk; unix_diag_get_exact() local
/linux-4.1.27/security/
H A Dlsm_audit.c294 struct sock *sk = a->u.net->sk; dump_common_audit_data() local
/linux-4.1.27/security/selinux/
H A Dnetlabel.c81 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) selinux_netlbl_sock_genattr() argument
244 struct sock *sk; selinux_netlbl_skbuff_setsid() local
310 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
330 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) selinux_netlbl_socket_post_create() argument
430 struct sock *sk = sock->sk; selinux_netlbl_socket_setsockopt() local
464 int selinux_netlbl_socket_connect(struct sock *sk, struct sockaddr *addr) selinux_netlbl_socket_connect() argument
112 selinux_netlbl_sock_getattr( const struct sock *sk, u32 sid) selinux_netlbl_sock_getattr() argument
/linux-4.1.27/security/tomoyo/
H A Drealpath.c224 struct sock *sk = sock ? sock->sk : NULL; tomoyo_get_socket_name() local
/linux-4.1.27/include/crypto/
H A Dif_alg.h29 struct sock sk; member in struct:alg_sock
87 static inline struct alg_sock *alg_sk(struct sock *sk) alg_sk() argument
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_lib-linux.c134 struct sock *sk = sock->sk; ksocknal_lib_send_kiov() local
558 struct sock *sk; ksocknal_lib_push_conn() local
593 ksocknal_data_ready(struct sock *sk) ksocknal_data_ready() argument
612 ksocknal_write_space(struct sock *sk) ksocknal_write_space() argument
/linux-4.1.27/fs/afs/
H A Drxrpc.c427 static void afs_rx_interceptor(struct sock *sk, unsigned long user_call_ID, afs_rx_interceptor() argument
/linux-4.1.27/net/bluetooth/hidp/
H A Dsock.c34 struct sock *sk = sock->sk; hidp_sock_release() local
231 struct sock *sk; hidp_sock_create() local
/linux-4.1.27/net/can/
H A Daf_can.c100 struct sock *sk = sock->sk; can_ioctl() local
113 static void can_sock_destruct(struct sock *sk) can_sock_destruct() argument
139 struct sock *sk; can_create() local
/linux-4.1.27/net/dccp/ccids/
H A Dccid2.c79 static int ccid2_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) ccid2_hc_tx_send_packet() argument
86 static void ccid2_change_l_ack_ratio(struct sock *sk, u32 val) ccid2_change_l_ack_ratio() argument
104 static void ccid2_check_l_ack_ratio(struct sock *sk) ccid2_check_l_ack_ratio() argument
122 static void ccid2_change_l_seq_window(struct sock *sk, u64 val) ccid2_change_l_seq_window() argument
131 struct sock *sk = (struct sock *)data; ccid2_hc_tx_rto_expire() local
194 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) ccid2_cwnd_application_limited() argument
213 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) ccid2_cwnd_restart() argument
232 static void ccid2_hc_tx_packet_sent(struct sock *sk, unsigned int len) ccid2_hc_tx_packet_sent() argument
356 static void ccid2_rtt_estimator(struct sock *sk, const long mrtt) ccid2_rtt_estimator() argument
426 static void ccid2_new_ack(struct sock *sk, struct ccid2_seq *seqp, ccid2_new_ack() argument
472 static void ccid2_congestion_event(struct sock *sk, struct ccid2_seq *seqp) ccid2_congestion_event() argument
489 static int ccid2_hc_tx_parse_options(struct sock *sk, u8 packet_type, ccid2_hc_tx_parse_options() argument
503 static void ccid2_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb) ccid2_hc_tx_packet_recv() argument
710 static int ccid2_hc_tx_init(struct ccid *ccid, struct sock *sk) ccid2_hc_tx_init() argument
742 static void ccid2_hc_tx_exit(struct sock *sk) ccid2_hc_tx_exit() argument
754 static void ccid2_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb) ccid2_hc_rx_packet_recv() argument
H A Dccid2.h124 static inline struct ccid2_hc_tx_sock *ccid2_hc_tx_sk(const struct sock *sk) ccid2_hc_tx_sk() argument
129 static inline struct ccid2_hc_rx_sock *ccid2_hc_rx_sk(const struct sock *sk) ccid2_hc_rx_sk() argument
H A Dccid3.h114 static inline struct ccid3_hc_tx_sock *ccid3_hc_tx_sk(const struct sock *sk) ccid3_hc_tx_sk() argument
153 static inline struct ccid3_hc_rx_sock *ccid3_hc_rx_sk(const struct sock *sk) ccid3_hc_rx_sk() argument
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_conntrack_l3proto_ipv6.c233 ipv6_getorigdst(struct sock *sk, int optval, void __user *user, int *len) ipv6_getorigdst() argument
/linux-4.1.27/net/l2tp/
H A Dl2tp_netlink.c328 struct sock *sk = NULL; l2tp_nl_tunnel_send() local
706 struct sock *sk = NULL; l2tp_nl_session_send() local
/linux-4.1.27/lib/
H A Dkobject_uevent.c37 struct sock *sk; member in struct:uevent_sock
/linux-4.1.27/net/openvswitch/
H A Dvport-geneve.c110 struct inet_sock *sk = inet_sk(geneve_port->gs->sock->sk); geneve_get_options() local
H A Dvport-vxlan.c225 struct sock *sk = vxlan_port->vs->sock->sk; vxlan_tnl_send() local
/linux-4.1.27/net/tipc/
H A Dserver.c95 struct sock *sk; tipc_conn_kref_release() local
135 static void sock_data_ready(struct sock *sk) sock_data_ready() argument
149 static void sock_write_space(struct sock *sk) sock_write_space() argument
165 struct sock *sk = sock->sk; tipc_register_callbacks() local
180 struct sock *sk = con->sock->sk; tipc_unregister_callbacks() local
H A Dudp_media.c216 static int tipc_udp_recv(struct sock *sk, struct sk_buff *skb) tipc_udp_recv() argument
250 struct sock *sk = ub->ubsock->sk; enable_mcast() local
/linux-4.1.27/net/vmw_vsock/
H A Dvmci_transport_notify.c113 vmci_transport_handle_waiting_read(struct sock *sk, vmci_transport_handle_waiting_read() argument
143 vmci_transport_handle_waiting_write(struct sock *sk, vmci_transport_handle_waiting_write() argument
173 vmci_transport_handle_read(struct sock *sk, vmci_transport_handle_read() argument
188 static bool send_waiting_read(struct sock *sk, u64 room_needed) send_waiting_read() argument
230 static bool send_waiting_write(struct sock *sk, u64 room_needed) send_waiting_write() argument
267 static int vmci_transport_send_read_notification(struct sock *sk) vmci_transport_send_read_notification() argument
309 vmci_transport_handle_wrote(struct sock *sk, vmci_transport_handle_wrote() argument
321 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) vmci_transport_notify_pkt_socket_init() argument
346 vmci_transport_notify_pkt_poll_in(struct sock *sk, vmci_transport_notify_pkt_poll_in() argument
370 vmci_transport_notify_pkt_poll_out(struct sock *sk, vmci_transport_notify_pkt_poll_out() argument
641 static void vmci_transport_notify_pkt_process_request(struct sock *sk) vmci_transport_notify_pkt_process_request() argument
652 static void vmci_transport_notify_pkt_process_negotiate(struct sock *sk) vmci_transport_notify_pkt_process_negotiate() argument
399 vmci_transport_notify_pkt_recv_init( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_init() argument
435 vmci_transport_notify_pkt_recv_pre_block( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_pre_block() argument
461 vmci_transport_notify_pkt_recv_pre_dequeue( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_pre_dequeue() argument
481 vmci_transport_notify_pkt_recv_post_dequeue( struct sock *sk, size_t target, ssize_t copied, bool data_read, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_post_dequeue() argument
514 vmci_transport_notify_pkt_send_init( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_init() argument
527 vmci_transport_notify_pkt_send_pre_block( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_pre_block() argument
539 vmci_transport_notify_pkt_send_pre_enqueue( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_pre_enqueue() argument
555 vmci_transport_notify_pkt_send_post_enqueue( struct sock *sk, ssize_t written, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_post_enqueue() argument
606 vmci_transport_notify_pkt_handle_pkt( struct sock *sk, struct vmci_transport_packet *pkt, bool bottom_half, struct sockaddr_vm *dst, struct sockaddr_vm *src, bool *pkt_processed) vmci_transport_notify_pkt_handle_pkt() argument
H A Dvmci_transport_notify_qstate.c81 vmci_transport_handle_read(struct sock *sk, vmci_transport_handle_read() argument
90 vmci_transport_handle_wrote(struct sock *sk, vmci_transport_handle_wrote() argument
98 static void vsock_block_update_write_window(struct sock *sk) vsock_block_update_write_window() argument
108 static int vmci_transport_send_read_notification(struct sock *sk) vmci_transport_send_read_notification() argument
148 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) vmci_transport_notify_pkt_socket_init() argument
167 vmci_transport_notify_pkt_poll_in(struct sock *sk, vmci_transport_notify_pkt_poll_in() argument
188 vmci_transport_notify_pkt_poll_out(struct sock *sk, vmci_transport_notify_pkt_poll_out() argument
374 static void vmci_transport_notify_pkt_process_request(struct sock *sk) vmci_transport_notify_pkt_process_request() argument
385 static void vmci_transport_notify_pkt_process_negotiate(struct sock *sk) vmci_transport_notify_pkt_process_negotiate() argument
209 vmci_transport_notify_pkt_recv_init( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_init() argument
241 vmci_transport_notify_pkt_recv_pre_block( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_pre_block() argument
261 vmci_transport_notify_pkt_recv_post_dequeue( struct sock *sk, size_t target, ssize_t copied, bool data_read, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_post_dequeue() argument
300 vmci_transport_notify_pkt_send_init( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_init() argument
311 vmci_transport_notify_pkt_send_post_enqueue( struct sock *sk, ssize_t written, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_post_enqueue() argument
350 vmci_transport_notify_pkt_handle_pkt( struct sock *sk, struct vmci_transport_packet *pkt, bool bottom_half, struct sockaddr_vm *dst, struct sockaddr_vm *src, bool *pkt_processed) vmci_transport_notify_pkt_handle_pkt() argument
397 vmci_transport_notify_pkt_recv_pre_dequeue( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) vmci_transport_notify_pkt_recv_pre_dequeue() argument
406 vmci_transport_notify_pkt_send_pre_block( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_pre_block() argument
414 vmci_transport_notify_pkt_send_pre_enqueue( struct sock *sk, struct vmci_transport_send_notify_data *data) vmci_transport_notify_pkt_send_pre_enqueue() argument
/linux-4.1.27/drivers/isdn/i4l/
H A Disdn_audio.c450 int sk, isdn_audio_goertzel() local
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_nego.c411 static void iscsi_target_sk_data_ready(struct sock *sk) iscsi_target_sk_data_ready() argument
451 struct sock *sk; iscsi_target_set_sock_callbacks() local
473 struct sock *sk; iscsi_target_restore_sock_callbacks() local
497 static bool iscsi_target_sk_state_check(struct sock *sk) iscsi_target_sk_state_check() argument
558 struct sock *sk = conn->sock->sk; iscsi_target_do_login_rx() local
605 struct sock *sk = conn->sock->sk; iscsi_target_do_login_rx() local
622 struct sock *sk = conn->sock->sk; iscsi_target_do_cleanup() local
640 static void iscsi_target_sk_state_change(struct sock *sk) iscsi_target_sk_state_change() argument
977 struct sock *sk = conn->sock->sk; iscsi_target_do_login() local
1257 struct sock *sk = conn->sock->sk; iscsi_target_start_negotiation() local

Completed in 2194 milliseconds

123