Searched refs:sk (Results 101 - 125 of 950) sorted by relevance

1234567891011>>

/linux-master/drivers/isdn/mISDN/
H A Dsocket.c22 #define _pms(sk) ((struct mISDN_sock *)sk)
46 mISDN_sock_link(struct mISDN_sock_list *l, struct sock *sk) argument
49 sk_add_node(sk, &l->head);
53 static void mISDN_sock_unlink(struct mISDN_sock_list *l, struct sock *sk) argument
56 sk_del_node_init(sk);
69 if (msk->sk.sk_state == MISDN_CLOSED)
72 err = sock_queue_rcv_skb(&msk->sk, skb);
88 msk->sk.sk_state = MISDN_CLOSED;
95 mISDN_sock_cmsg(struct sock *sk, struc argument
110 struct sock *sk = sock->sk; local
169 struct sock *sk = sock->sk; local
238 struct sock *sk = sock->sk; local
279 data_sock_ioctl_bound(struct sock *sk, unsigned int cmd, void __user *p) argument
353 struct sock *sk = sock->sk; local
406 struct sock *sk = sock->sk; local
438 struct sock *sk = sock->sk; local
468 struct sock *sk = sock->sk; local
556 struct sock *sk = sock->sk; local
595 struct sock *sk; local
620 struct sock *sk = sock->sk; local
702 struct sock *sk = sock->sk; local
751 struct sock *sk; local
[all...]
/linux-master/net/ipv4/
H A Dtcp_fastopen.c38 void tcp_fastopen_destroy_cipher(struct sock *sk) argument
43 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1);
58 int tcp_fastopen_reset_cipher(struct net *net, struct sock *sk, argument
81 if (sk) {
82 q = &inet_csk(sk)->icsk_accept_queue.fastopenq;
152 static void tcp_fastopen_cookie_gen(struct sock *sk, argument
160 ctx = tcp_fastopen_get_ctx(sk);
169 void tcp_fastopen_add_skb(struct sock *sk, struct sk_buff *skb) argument
171 struct tcp_sock *tp = tcp_sk(sk);
190 sk_forced_mem_schedule(sk, sk
210 tcp_fastopen_cookie_gen_check(struct sock *sk, struct request_sock *req, struct sk_buff *syn, struct tcp_fastopen_cookie *orig, struct tcp_fastopen_cookie *valid_foc) argument
238 tcp_fastopen_create_child(struct sock *sk, struct sk_buff *skb, struct request_sock *req) argument
296 tcp_fastopen_queue_check(struct sock *sk) argument
334 tcp_fastopen_no_cookie(const struct sock *sk, const struct dst_entry *dst, int flag) argument
347 tcp_try_fastopen(struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct tcp_fastopen_cookie *foc, const struct dst_entry *dst) argument
414 tcp_fastopen_cookie_check(struct sock *sk, u16 *mss, struct tcp_fastopen_cookie *cookie) argument
446 tcp_fastopen_defer_connect(struct sock *sk, int *err) argument
491 tcp_fastopen_active_disable(struct sock *sk) argument
514 tcp_fastopen_active_should_disable(struct sock *sk) argument
554 tcp_fastopen_active_disable_ofo_check(struct sock *sk) argument
580 tcp_fastopen_active_detect_blackhole(struct sock *sk, bool expired) argument
[all...]
H A Dudp_impl.h12 int udp_v4_get_port(struct sock *sk, unsigned short snum);
13 void udp_v4_rehash(struct sock *sk);
15 int udp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval,
17 int udp_getsockopt(struct sock *sk, int level, int optname,
20 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags,
22 void udp_destroy_sock(struct sock *sk);
H A Draw_diag.c37 static bool raw_lookup(struct net *net, const struct sock *sk, argument
43 return raw_v4_match(net, sk, r->sdiag_raw_protocol,
49 return raw_v6_match(net, sk, r->sdiag_raw_protocol,
61 struct sock *sk; local
70 sk_for_each_rcu(sk, hlist) {
71 if (raw_lookup(net, sk, r)) {
77 if (refcount_inc_not_zero(&sk->sk_refcnt))
82 sk = ERR_PTR(-ENOENT);
86 return sk;
94 struct sock *sk; local
126 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r, struct nlattr *bc, bool net_admin) argument
146 struct sock *sk = NULL; local
191 raw_diag_get_info(struct sock *sk, struct inet_diag_msg *r, void *info) argument
203 struct sock *sk; local
[all...]
H A Dtcp_input.c122 void (*cad)(struct sock *sk, u32 ack_seq))
144 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) argument
146 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown &&
147 BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk),
149 bool parse_all_opt = BPF_SOCK_OPS_TEST_FLAG(tcp_sk(sk),
160 switch (sk->sk_state) {
167 sock_owned_by_me(sk);
172 sock_ops.sk = sk;
178 static void bpf_skops_established(struct sock *sk, in argument
121 clean_acked_data_enable(struct inet_connection_sock *icsk, void (*cad)(struct sock *sk, u32 ack_seq)) argument
196 bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) argument
200 bpf_skops_established(struct sock *sk, int bpf_op, struct sk_buff *skb) argument
206 tcp_gro_dev_warn(const struct sock *sk, const struct sk_buff *skb, unsigned int len) argument
222 tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) argument
295 tcp_incr_quickack(struct sock *sk, unsigned int max_quickacks) argument
307 tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks) argument
320 tcp_in_quickack_mode(struct sock *sk) argument
335 tcp_ecn_accept_cwr(struct sock *sk, const struct sk_buff *skb) argument
354 __tcp_ecn_check_ce(struct sock *sk, const struct sk_buff *skb) argument
386 tcp_ecn_check_ce(struct sock *sk, const struct sk_buff *skb) argument
416 tcp_sndbuf_expand(struct sock *sk) argument
474 __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb, unsigned int skbtruesize) argument
511 tcp_grow_window(struct sock *sk, const struct sk_buff *skb, bool adjust) argument
551 tcp_init_buffer_space(struct sock *sk) argument
589 tcp_clamp_window(struct sock *sk) argument
617 tcp_initialize_rcv_mss(struct sock *sk) argument
708 tcp_rcv_rtt_measure_ts(struct sock *sk, const struct sk_buff *skb) argument
730 tcp_rcv_space_adjust(struct sock *sk) argument
789 tcp_save_lrcv_flowlabel(struct sock *sk, const struct sk_buff *skb) argument
809 tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) argument
864 tcp_rtt_estimator(struct sock *sk, long mrtt_us) argument
932 tcp_update_pacing_rate(struct sock *sk) argument
969 tcp_set_rto(struct sock *sk) argument
1068 tcp_check_sack_reordering(struct sock *sk, const u32 low_seq, const int ts) argument
1121 tcp_mark_skb_lost(struct sock *sk, struct sk_buff *skb) argument
1285 tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, struct tcp_sack_block_wire *sp, int num_sacks, u32 prior_snd_una, struct tcp_sacktag_state *state) argument
1332 tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, u32 start_seq, u32 end_seq) argument
1381 tcp_sacktag_one(struct sock *sk, struct tcp_sacktag_state *state, u8 sacked, u32 start_seq, u32 end_seq, int dup_sack, int pcount, u64 xmit_time) argument
1466 tcp_shifted_skb(struct sock *sk, struct sk_buff *prev, struct sk_buff *skb, struct tcp_sacktag_state *state, unsigned int pcount, int shifted, int mss, bool dup_sack) argument
1580 tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, struct tcp_sacktag_state *state, u32 start_seq, u32 end_seq, bool dup_sack) argument
1718 tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, struct tcp_sack_block *next_dup, struct tcp_sacktag_state *state, u32 start_seq, u32 end_seq, bool dup_sack_in) argument
1790 tcp_sacktag_bsearch(struct sock *sk, u32 seq) argument
1811 tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, u32 skip_to_seq) argument
1820 tcp_maybe_skipping_dsack(struct sk_buff *skb, struct sock *sk, struct tcp_sack_block *next_dup, struct tcp_sacktag_state *state, u32 skip_to_seq) argument
1845 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, u32 prior_snd_una, struct tcp_sacktag_state *state) argument
2061 tcp_check_reno_reordering(struct sock *sk, const int addend) argument
2076 tcp_add_reno_sack(struct sock *sk, int num_dupack, bool ece_ack) argument
2094 tcp_remove_reno_sacks(struct sock *sk, int acked, bool ece_ack) argument
2136 tcp_is_rack(const struct sock *sk) argument
2146 tcp_timeout_mark_lost(struct sock *sk) argument
2177 tcp_enter_loss(struct sock *sk) argument
2233 tcp_check_sack_reneging(struct sock *sk, int *ack_flag) argument
2362 tcp_time_to_recover(struct sock *sk, int flag) argument
2382 tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) argument
2428 tcp_update_scoreboard(struct sock *sk, int fast_rexmit) argument
2482 tcp_any_retrans_done(const struct sock *sk) argument
2497 DBGUNDO(struct sock *sk, const char *msg) argument
2524 tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss) argument
2558 tcp_is_non_sack_preventing_reopen(struct sock *sk) argument
2574 tcp_try_undo_recovery(struct sock *sk) argument
2603 tcp_try_undo_dsack(struct sock *sk) argument
2619 tcp_try_undo_loss(struct sock *sk, bool frto_undo) argument
2652 tcp_init_cwnd_reduction(struct sock *sk) argument
2666 tcp_cwnd_reduction(struct sock *sk, int newly_acked_sacked, int newly_lost, int flag) argument
2692 tcp_end_cwnd_reduction(struct sock *sk) argument
2709 tcp_enter_cwr(struct sock *sk) argument
2722 tcp_try_keep_open(struct sock *sk) argument
2736 tcp_try_to_open(struct sock *sk, int flag) argument
2753 tcp_mtup_probe_failed(struct sock *sk) argument
2762 tcp_mtup_probe_success(struct sock *sk) argument
2789 tcp_simple_retransmit(struct sock *sk) argument
2842 tcp_enter_recovery(struct sock *sk, bool ece_ack) argument
2876 tcp_process_loss(struct sock *sk, int flag, int num_dupack, int *rexmit) argument
2929 tcp_force_fast_retransmit(struct sock *sk) argument
2938 tcp_try_undo_partial(struct sock *sk, u32 prior_snd_una, bool *do_lost) argument
2971 tcp_identify_packet_loss(struct sock *sk, int *ack_flag) argument
3002 tcp_fastretrans_alert(struct sock *sk, const u32 prior_snd_una, int num_dupack, int *ack_flag, int *rexmit) argument
3122 tcp_update_rtt_min(struct sock *sk, u32 rtt_us, const int flag) argument
3138 tcp_ack_update_rtt(struct sock *sk, const int flag, long seq_rtt_us, long sack_rtt_us, long ca_rtt_us, struct rate_sample *rs) argument
3180 tcp_synack_rtt_meas(struct sock *sk, struct request_sock *req) argument
3192 tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) argument
3203 tcp_rearm_rto(struct sock *sk) argument
3233 tcp_set_xmit_timer(struct sock *sk) argument
3240 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) argument
3260 tcp_ack_tstamp(struct sock *sk, struct sk_buff *skb, const struct sk_buff *ack_skb, u32 prior_snd_una) argument
3282 tcp_clean_rtx_queue(struct sock *sk, const struct sk_buff *ack_skb, u32 prior_fack, u32 prior_snd_una, struct tcp_sacktag_state *sack, bool ece_ack) argument
3488 tcp_ack_probe(struct sock *sk) argument
3512 tcp_ack_is_dubious(const struct sock *sk, const int flag) argument
3519 tcp_may_raise_cwnd(const struct sock *sk, const int flag) argument
3539 tcp_cong_control(struct sock *sk, u32 ack, u32 acked_sacked, int flag, const struct rate_sample *rs) argument
3628 tcp_ack_update_window(struct sock *sk, const struct sk_buff *skb, u32 ack, u32 ack_seq) argument
3709 tcp_send_challenge_ack(struct sock *sk) argument
3767 tcp_process_tlp_ack(struct sock *sk, u32 ack, int flag) argument
3797 tcp_in_ack_event(struct sock *sk, u32 flags) argument
3809 tcp_xmit_recovery(struct sock *sk, int rexmit) argument
3827 tcp_newly_delivered(struct sock *sk, u32 prior_delivered, int flag) argument
3842 tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag) argument
4370 tcp_tsval_replay(const struct sock *sk) argument
4384 tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) argument
4405 tcp_paws_discard(const struct sock *sk, const struct sk_buff *skb) argument
4440 tcp_reset(struct sock *sk, struct sk_buff *skb) argument
4487 tcp_fin(struct sock *sk) argument
4568 tcp_dsack_set(struct sock *sk, u32 seq, u32 end_seq) argument
4588 tcp_dsack_extend(struct sock *sk, u32 seq, u32 end_seq) argument
4598 tcp_rcv_spurious_retrans(struct sock *sk, const struct sk_buff *skb) argument
4621 tcp_send_dupack(struct sock *sk, const struct sk_buff *skb) argument
4672 tcp_sack_compress_send_ack(struct sock *sk) argument
4699 tcp_sack_new_ofo_skb(struct sock *sk, u32 seq, u32 end_seq) argument
4793 tcp_try_coalesce(struct sock *sk, struct sk_buff *to, struct sk_buff *from, bool *fragstolen) argument
4831 tcp_ooo_try_coalesce(struct sock *sk, struct sk_buff *to, struct sk_buff *from, bool *fragstolen) argument
4848 tcp_drop_reason(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason) argument
4858 tcp_ofo_queue(struct sock *sk) argument
4908 tcp_try_rmem_schedule(struct sock *sk, struct sk_buff *skb, unsigned int size) argument
4925 tcp_data_queue_ofo(struct sock *sk, struct sk_buff *skb) argument
5072 tcp_queue_rcv(struct sock *sk, struct sk_buff *skb, bool *fragstolen) argument
5089 tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size) argument
5141 tcp_data_ready(struct sock *sk) argument
5147 tcp_data_queue(struct sock *sk, struct sk_buff *skb) argument
5286 tcp_collapse_one(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *list, struct rb_root *root) argument
5331 tcp_collapse(struct sock *sk, struct sk_buff_head *list, struct rb_root *root, struct sk_buff *head, struct sk_buff *tail, u32 start, u32 end) argument
5432 tcp_collapse_ofo_queue(struct sock *sk) argument
5492 tcp_prune_ofo_queue(struct sock *sk, const struct sk_buff *in_skb) argument
5546 tcp_prune_queue(struct sock *sk, const struct sk_buff *in_skb) argument
5589 tcp_should_expand_sndbuf(struct sock *sk) argument
5624 tcp_new_space(struct sock *sk) argument
5646 tcp_check_space(struct sock *sk) argument
5658 tcp_data_snd_check(struct sock *sk) argument
5667 __tcp_ack_snd_check(struct sock *sk, int ofo_possible) argument
5734 tcp_ack_snd_check(struct sock *sk) argument
5753 tcp_check_urg(struct sock *sk, const struct tcphdr *th) argument
5819 tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) argument
5852 tcp_reset_check(const struct sock *sk, const struct sk_buff *skb) argument
5864 tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th, int syn_inerr) argument
6005 tcp_rcv_established(struct sock *sk, struct sk_buff *skb) argument
6194 tcp_init_transfer(struct sock *sk, int bpf_op, struct sk_buff *skb) argument
6222 tcp_finish_connect(struct sock *sk, struct sk_buff *skb) argument
6253 tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack, struct tcp_fastopen_cookie *cookie) argument
6326 tcp_try_undo_spurious_syn(struct sock *sk) argument
6341 tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th) argument
6589 tcp_rcv_synrecv_state_fastopen(struct sock *sk) argument
6631 tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb) argument
6956 tcp_openreq_init(struct request_sock *req, const struct tcp_options_received *rx_opt, struct sk_buff *skb, const struct sock *sk) argument
7012 tcp_syn_flood_action(struct sock *sk, const char *proto) argument
7047 tcp_reqsk_record_syn(const struct sock *sk, struct request_sock *req, const struct sk_buff *skb) argument
7081 tcp_get_syncookie_mss(struct request_sock_ops *rsk_ops, const struct tcp_request_sock_ops *af_ops, struct sock *sk, struct tcphdr *th) argument
7108 tcp_conn_request(struct request_sock_ops *rsk_ops, const struct tcp_request_sock_ops *af_ops, struct sock *sk, struct sk_buff *skb) argument
[all...]
H A Dtcp_veno.c45 static inline void veno_enable(struct sock *sk) argument
47 struct veno *veno = inet_csk_ca(sk);
55 static inline void veno_disable(struct sock *sk) argument
57 struct veno *veno = inet_csk_ca(sk);
63 static void tcp_veno_init(struct sock *sk) argument
65 struct veno *veno = inet_csk_ca(sk);
69 veno_enable(sk);
73 static void tcp_veno_pkts_acked(struct sock *sk, argument
76 struct veno *veno = inet_csk_ca(sk);
96 static void tcp_veno_state(struct sock *sk, u argument
113 tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) argument
119 tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) argument
195 tcp_veno_ssthresh(struct sock *sk) argument
[all...]
/linux-master/samples/bpf/
H A Dtcp_dumpstats_kern.c29 struct bpf_sock *sk; local
43 sk = ctx->sk;
44 if (!sk)
47 next_dump = bpf_sk_storage_get(&bpf_next_dump, sk, 0,
56 tcp_sk = bpf_tcp_sock(sk);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_update.c30 struct bpf_sock *sk; local
34 sk = bpf_map_lookup_elem(&src, &key);
35 if (!sk)
38 if (bpf_map_update_elem(&dst_sock_map, &key, sk, 0))
41 if (bpf_map_update_elem(&dst_sock_hash, &key, sk, 0))
44 bpf_sk_release(sk);
H A Dbpf_iter_setsockopt.c10 sk = NULL; \
14 sk = (struct sock *)tp; \
44 struct sock *sk; local
49 if (sk->sk_family != AF_INET6 ||
50 (sk->sk_state != TCP_LISTEN &&
51 sk->sk_state != TCP_ESTABLISHED) ||
52 (sk->sk_num != reuse_listen_hport &&
53 sk->sk_num != listen_hport &&
54 bpf_ntohs(sk->sk_dport) != listen_hport))
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c94 struct sock *sk)
104 switch (sk->sk_family) {
106 if (likely(!inet_sk(sk)->inet_rcv_saddr))
108 ndev = __ip_dev_find(&init_net, inet_sk(sk)->inet_rcv_saddr, false);
112 addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr);
118 &sk->sk_v6_rcv_saddr, temp, 1)) {
141 static void assign_rxopt(struct sock *sk, unsigned int opt) argument
147 csk = rcu_dereference_sk_user_data(sk);
148 tp = tcp_sk(sk);
169 static void chtls_purge_receive_queue(struct sock *sk) argument
93 chtls_find_netdev(struct chtls_dev *cdev, struct sock *sk) argument
179 chtls_purge_write_queue(struct sock *sk) argument
190 chtls_purge_recv_queue(struct sock *sk) argument
223 chtls_send_abort(struct sock *sk, int mode, struct sk_buff *skb) argument
245 chtls_send_reset(struct sock *sk, int mode, struct sk_buff *skb) argument
280 release_tcp_port(struct sock *sk) argument
286 tcp_uncork(struct sock *sk) argument
296 chtls_close_conn(struct sock *sk) argument
330 make_close_transition(struct sock *sk) argument
338 chtls_close(struct sock *sk, long timeout) argument
402 wait_for_states(struct sock *sk, unsigned int states) argument
446 chtls_disconnect(struct sock *sk, int flags) argument
471 chtls_shutdown(struct sock *sk, int how) argument
479 chtls_destroy_sock(struct sock *sk) argument
542 listen_hashfn(const struct sock *sk) argument
547 listen_hash_add(struct chtls_dev *cdev, struct sock *sk, unsigned int stid) argument
566 listen_hash_find(struct chtls_dev *cdev, struct sock *sk) argument
585 listen_hash_del(struct chtls_dev *cdev, struct sock *sk) argument
643 chtls_listen_start(struct chtls_dev *cdev, struct sock *sk) argument
730 chtls_listen_stop(struct chtls_dev *cdev, struct sock *sk) argument
810 chtls_purge_wr_queue(struct sock *sk) argument
818 chtls_release_resources(struct sock *sk) argument
848 chtls_conn_done(struct sock *sk) argument
896 chtls_pass_open_arp_failure(struct sock *sk, struct sk_buff *skb) argument
935 struct sock *sk = (struct sock *)handle; local
953 struct sock *sk; local
1016 struct sock *sk; local
1079 chtls_backlog_rcv(struct sock *sk, struct sk_buff *skb) argument
1277 chtls_get_module(struct sock *sk) argument
1287 chtls_pass_accept_request(struct sock *sk, struct sk_buff *skb) argument
1461 make_established(struct sock *sk, u32 snd_isn, unsigned int opt) argument
1479 chtls_abort_conn(struct sock *sk, struct sk_buff *skb) argument
1498 struct sock *sk = reap_list; local
1520 add_to_reap_list(struct sock *sk) argument
1575 struct sock *lsk, *sk; local
1636 handle_urg_ptr(struct sock *sk, u32 urg_seq) argument
1661 struct sock *sk = csk->sk; local
1672 handle_excess_rx(struct sock *sk, struct sk_buff *skb) argument
1680 chtls_recv_data(struct sock *sk, struct sk_buff *skb) argument
1730 struct sock *sk; local
1742 chtls_recv_pdu(struct sock *sk, struct sk_buff *skb) argument
1782 struct sock *sk; local
1802 chtls_rx_hdr(struct sock *sk, struct sk_buff *skb) argument
1851 struct sock *sk; local
1864 chtls_timewait(struct sock *sk) argument
1874 chtls_peer_close(struct sock *sk, struct sk_buff *skb) argument
1917 chtls_close_con_rpl(struct sock *sk, struct sk_buff *skb) argument
2016 chtls_send_abort_rpl(struct sock *sk, struct sk_buff *skb, struct chtls_dev *cdev, int status, int queue) argument
2069 abort_syn_rcv(struct sock *sk, struct sk_buff *skb) argument
2107 chtls_abort_req_rss(struct sock *sk, struct sk_buff *skb) argument
2149 chtls_abort_rpl_rss(struct sock *sk, struct sk_buff *skb) argument
2181 struct sock *sk; local
2222 chtls_rx_ack(struct sock *sk, struct sk_buff *skb) argument
2286 struct sock *sk; local
2302 struct sock *sk; local
[all...]
H A Dchtls_io.c43 static int nos_ivs(struct sock *sk, unsigned int size) argument
45 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk);
50 static int set_ivs_imm(struct sock *sk, const struct sk_buff *skb) argument
52 int ivs_size = nos_ivs(sk, skb->len) * CIPHER_BLOCK_SIZE;
64 static int max_ivs_size(struct sock *sk, int size) argument
66 return nos_ivs(sk, size) * CIPHER_BLOCK_SIZE;
69 static int ivs_size(struct sock *sk, const struct sk_buff *skb) argument
71 return set_ivs_imm(sk, skb) ? (nos_ivs(sk, skb->len) *
89 static struct sk_buff *create_flowc_wr_skb(struct sock *sk, argument
106 send_flowc_wr(struct sock *sk, struct fw_flowc_wr *flowc, int flowclen) argument
159 send_tx_flowc_wr(struct sock *sk, int compl, u32 snd_nxt, u32 rcv_nxt) argument
219 tls_copy_ivs(struct sock *sk, struct sk_buff *skb) argument
276 tls_copy_tx_key(struct sock *sk, struct sk_buff *skb) argument
340 tls_tx_data_wr(struct sock *sk, struct sk_buff *skb, int dlen, int tls_immd, u32 credits, int expn, int pdus) argument
442 chtls_expansion_size(struct sock *sk, int data_len, int fullpdu, unsigned short *pducnt) argument
479 make_tlstx_data_wr(struct sock *sk, struct sk_buff *skb, int tls_tx_imm, int tls_len, u32 credits) argument
508 make_tx_data_wr(struct sock *sk, struct sk_buff *skb, unsigned int immdlen, int len, u32 credits, u32 compl) argument
602 struct sock *sk; local
728 should_push(struct sock *sk) argument
760 send_should_push(struct sock *sk, int flags) argument
765 chtls_tcp_push(struct sock *sk, int flags) argument
798 select_size(struct sock *sk, int io_len, int flags, int len) argument
819 skb_entail(struct sock *sk, struct sk_buff *skb, int flags) argument
836 get_tx_skb(struct sock *sk, int size) argument
849 get_record_skb(struct sock *sk, int size, bool zcopy) argument
877 push_frames_if_head(struct sock *sk) argument
885 chtls_skb_copy_to_page_nocache(struct sock *sk, struct iov_iter *from, struct sk_buff *skb, struct page *page, int off, int copy) argument
905 csk_mem_free(struct chtls_dev *cdev, struct sock *sk) argument
910 csk_wait_memory(struct chtls_dev *cdev, struct sock *sk, long *timeo_p) argument
979 chtls_proccess_cmsg(struct sock *sk, struct msghdr *msg, unsigned char *record_type) argument
1010 chtls_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) argument
1245 struct sock *sk = sock->sk; local
1252 chtls_select_window(struct sock *sk) argument
1312 chtls_cleanup_rbuf(struct sock *sk, int copied) argument
1341 chtls_pt_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, int *addr_len) argument
1538 peekmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags) argument
1665 chtls_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, int *addr_len) argument
[all...]
/linux-master/include/crypto/
H A Dif_alg.h26 struct sock sk; member in struct:alg_sock
48 int (*accept)(void *private, struct sock *sk);
49 int (*accept_nokey)(void *private, struct sock *sk);
84 * @sk: Socket the request is associated with
96 struct sock *sk; member in struct:af_alg_async_req
168 void af_alg_release_parent(struct sock *sk);
169 int af_alg_accept(struct sock *sk, struct socket *newsock,
174 static inline struct alg_sock *alg_sk(struct sock *sk) argument
176 return (struct alg_sock *)sk;
182 * @sk socke
185 af_alg_sndbuf(struct sock *sk) argument
200 af_alg_writable(struct sock *sk) argument
211 af_alg_rcvbuf(struct sock *sk) argument
226 af_alg_readable(struct sock *sk) argument
[all...]
/linux-master/sound/usb/usx2y/
H A Dusb_stream.c13 static unsigned int usb_stream_next_packet_size(struct usb_stream_kernel *sk) argument
15 struct usb_stream *s = sk->s;
17 sk->out_phase_peeked = (sk->out_phase & 0xffff) + sk->freqn;
18 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size;
21 static void playback_prep_freqn(struct usb_stream_kernel *sk, struct urb *urb) argument
23 struct usb_stream *s = sk->s;
26 for (pack = 0; pack < sk->n_o_ps; pack++) {
27 int l = usb_stream_next_packet_size(sk);
47 init_pipe_urbs(struct usb_stream_kernel *sk, unsigned int use_packsize, struct urb **urbs, char *transfer, struct usb_device *dev, int pipe) argument
86 init_urbs(struct usb_stream_kernel *sk, unsigned int use_packsize, struct usb_device *dev, int in_pipe, int out_pipe) argument
130 usb_stream_free(struct usb_stream_kernel *sk) argument
155 usb_stream_new(struct usb_stream_kernel *sk, struct usb_device *dev, unsigned int in_endpoint, unsigned int out_endpoint, unsigned int sample_rate, unsigned int use_packsize, unsigned int period_frames, unsigned int frame_size) argument
243 balance_check(struct usb_stream_kernel *sk, struct urb *urb) argument
259 balance_playback(struct usb_stream_kernel *sk, struct urb *urb) argument
265 balance_capture(struct usb_stream_kernel *sk, struct urb *urb) argument
282 usb_stream_prepare_playback(struct usb_stream_kernel *sk, struct urb *inurb) argument
359 submit_urbs(struct usb_stream_kernel *sk, struct urb *inurb, struct urb *outurb) argument
445 stream_idle(struct usb_stream_kernel *sk, struct urb *inurb, struct urb *outurb) argument
516 struct usb_stream_kernel *sk = urb->context; local
524 struct usb_stream_kernel *sk = urb->context; local
530 stream_start(struct usb_stream_kernel *sk, struct urb *inurb, struct urb *outurb) argument
617 struct usb_stream_kernel *sk = urb->context; local
664 struct usb_stream_kernel *sk = urb->context; local
670 usb_stream_start(struct usb_stream_kernel *sk) argument
770 usb_stream_stop(struct usb_stream_kernel *sk) argument
[all...]
H A Dusb_stream.h34 struct usb_stream *usb_stream_new(struct usb_stream_kernel *sk,
42 void usb_stream_free(struct usb_stream_kernel *sk);
43 int usb_stream_start(struct usb_stream_kernel *sk);
44 void usb_stream_stop(struct usb_stream_kernel *sk);
/linux-master/net/mptcp/
H A Dfastopen.c12 struct sock *sk, *ssk; local
23 sk = subflow->conn;
32 /* dequeue the skb from sk receive queue */
51 mptcp_data_lock(sk);
53 mptcp_set_owner_r(skb, sk);
54 __skb_queue_tail(&sk->sk_receive_queue, skb);
55 mptcp_sk(sk)->bytes_received += skb->len;
57 sk->sk_data_ready(sk);
59 mptcp_data_unlock(sk);
65 struct sock *sk = (struct sock *)msk; local
[all...]
/linux-master/net/dccp/
H A Dipv6.c57 static inline void dccp_v6_send_check(struct sock *sk, struct sk_buff *skb) argument
59 struct ipv6_pinfo *np = inet6_sk(sk);
63 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr);
82 struct sock *sk; local
95 sk = __inet6_lookup_established(net, &dccp_hashinfo,
100 if (!sk) {
106 if (sk->sk_state == DCCP_TIME_WAIT) {
107 inet_twsk_put(inet_twsk(sk));
111 if (sk->sk_state == DCCP_NEW_SYN_RECV) {
112 dccp_req_err(sk, se
197 dccp_v6_send_response(const struct sock *sk, struct request_sock *req) argument
260 dccp_v6_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb, enum sk_rst_reason reason) argument
320 dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) argument
414 dccp_v6_request_recv_sock(const struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst, struct request_sock *req_unhash, bool *own_req) argument
581 dccp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) argument
701 struct sock *sk; local
819 dccp_v6_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) argument
1011 dccp_v6_sk_destruct(struct sock *sk) argument
1020 dccp_v6_init_sock(struct sock *sk) argument
[all...]
/linux-master/net/dccp/ccids/
H A Dccid3.c50 static void ccid3_hc_tx_set_state(struct sock *sk, argument
53 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk);
57 dccp_role(sk), sk, ccid3_tx_state_name(oldstate),
72 static inline u64 rfc3390_initial_rate(struct sock *sk) argument
74 const struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk);
104 * @sk: socket to be updated
114 static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) argument
116 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk);
128 min_rate = rfc3390_initial_rate(sk);
192 struct sock *sk = hc->sk; local
272 ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) argument
349 ccid3_hc_tx_packet_sent(struct sock *sk, unsigned int len) argument
359 ccid3_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb) argument
457 ccid3_hc_tx_parse_options(struct sock *sk, u8 packet_type, u8 option, u8 *optval, u8 optlen) argument
494 ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) argument
506 ccid3_hc_tx_exit(struct sock *sk) argument
514 ccid3_hc_tx_get_info(struct sock *sk, struct tcp_info *info) argument
520 ccid3_hc_tx_getsockopt(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen) argument
576 ccid3_hc_rx_set_state(struct sock *sk, enum ccid3_hc_rx_states state) argument
589 ccid3_hc_rx_send_feedback(struct sock *sk, const struct sk_buff *skb, enum ccid3_fback_type fbtype) argument
638 ccid3_hc_rx_insert_options(struct sock *sk, struct sk_buff *skb) argument
672 ccid3_first_li(struct sock *sk) argument
707 ccid3_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb) argument
791 ccid3_hc_rx_init(struct ccid *ccid, struct sock *sk) argument
800 ccid3_hc_rx_exit(struct sock *sk) argument
808 ccid3_hc_rx_get_info(struct sock *sk, struct tcp_info *info) argument
815 ccid3_hc_rx_getsockopt(struct sock *sk, const int optname, int len, u32 __user *optval, int __user *optlen) argument
[all...]
/linux-master/include/net/
H A Dinet_hashtables.h48 * 2) If all sockets have sk->sk_reuse set, and none of them are in
51 * 3) If all sockets are bound to a specific inet_sk(sk)->rcv_saddr local
64 * sk->sk_reuse set, we don't even have to walk the owners list at all,
148 * TCP_ESTABLISHED <= sk->sk_state < TCP_CLOSE
163 /* This bind table is hashed by local port and sk->sk_rcv_saddr (ipv4)
164 * or sk->sk_v6_rcv_saddr (ipv6). This 2nd bind table is used
177 static inline struct inet_hashinfo *tcp_or_dccp_get_hashinfo(const struct sock *sk) argument
180 return sk->sk_prot->h.hashinfo ? :
181 sock_net(sk)->ipv4.tcp_death_row.hashinfo;
183 return sock_net(sk)
262 inet_bhashfn_portaddr(const struct inet_hashinfo *hinfo, const struct sock *sk, const struct net *net, unsigned short port) argument
354 inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) argument
417 struct sock *sk; local
436 struct sock *sk; local
453 struct sock *sk, *reuse_sk; local
497 struct sock *sk; local
512 sk_daddr_set(struct sock *sk, __be32 addr) argument
520 sk_rcv_saddr_set(struct sock *sk, __be32 addr) argument
[all...]
/linux-master/net/llc/
H A Dllc_conn.c34 static void llc_conn_send_pdus(struct sock *sk);
35 static int llc_conn_service(struct sock *sk, struct sk_buff *skb);
36 static int llc_exec_conn_trans_actions(struct sock *sk,
39 static struct llc_conn_state_trans *llc_qualify_conn_ev(struct sock *sk,
52 * @sk: connection
62 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb) argument
65 struct llc_sock *llc = llc_sk(skb->sk);
72 rc = llc_conn_service(skb->sk, skb);
81 llc_save_primitive(sk, skb, LLC_DATA_PRIM);
82 if (unlikely(sock_queue_rcv_skb(sk, sk
178 llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb) argument
194 llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb) argument
211 llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit) argument
254 llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit) argument
294 llc_conn_remove_acked_pdus(struct sock *sk, u8 nr, u16 *how_many_unacked) argument
328 llc_conn_send_pdus(struct sock *sk) argument
357 llc_conn_service(struct sock *sk, struct sk_buff *skb) argument
387 llc_qualify_conn_ev(struct sock *sk, struct sk_buff *skb) argument
434 llc_exec_conn_trans_actions(struct sock *sk, struct llc_conn_state_trans *trans, struct sk_buff *skb) argument
454 llc_estab_match(const struct llc_sap *sap, const struct llc_addr *daddr, const struct llc_addr *laddr, const struct sock *sk, const struct net *net) argument
524 struct sock *sk; local
532 llc_listener_match(const struct llc_sap *sap, const struct llc_addr *laddr, const struct sock *sk, const struct net *net) argument
611 struct sock *sk = __llc_lookup_established(sap, daddr, laddr, net); local
706 llc_sap_add_socket(struct llc_sap *sap, struct sock *sk) argument
731 llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk) argument
750 llc_conn_rcv(struct sock *sk, struct sk_buff *skb) argument
759 llc_create_incoming_sock(struct sock *sk, struct net_device *dev, struct llc_addr *saddr, struct llc_addr *daddr) argument
784 struct sock *sk; local
858 llc_backlog_rcv(struct sock *sk, struct sk_buff *skb) argument
891 llc_sk_init(struct sock *sk) argument
932 struct sock *sk = sk_alloc(net, family, priority, prot, kern); local
947 llc_sk_stop_all_timers(struct sock *sk, bool sync) argument
973 llc_sk_free(struct sock *sk) argument
1010 llc_sk_reset(struct sock *sk) argument
[all...]
H A Dllc_c_ac.c32 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
33 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
34 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
36 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
38 static int llc_conn_ac_send_rr_rsp_f_set_ackpf(struct sock *sk,
41 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) argument
47 struct llc_sock *llc = llc_sk(sk);
56 llc_conn_resend_i_pdu_as_cmd(sk, nr, 0);
61 int llc_conn_ac_conn_ind(struct sock *sk, struc argument
69 llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) argument
77 llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) argument
85 llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) argument
91 llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) argument
119 llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) argument
128 llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) argument
167 llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) argument
176 llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk, struct sk_buff *skb) argument
188 llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock *sk, struct sk_buff *skb) argument
198 llc_conn_ac_send_disc_cmd_p_set_x(struct sock *sk, struct sk_buff *skb) argument
223 llc_conn_ac_send_dm_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument
249 llc_conn_ac_send_dm_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
273 llc_conn_ac_send_frmr_rsp_f_set_x(struct sock *sk, struct sk_buff *skb) argument
307 llc_conn_ac_resend_frmr_rsp_f_set_0(struct sock *sk, struct sk_buff *skb) argument
334 llc_conn_ac_resend_frmr_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument
364 llc_conn_ac_send_i_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument
382 llc_conn_ac_send_i_cmd_p_set_0(struct sock *sk, struct sk_buff *skb) argument
400 llc_conn_ac_send_i_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
418 llc_conn_ac_resend_i_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
427 llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr(struct sock *sk, struct sk_buff *skb) argument
456 llc_conn_ac_resend_i_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
465 llc_conn_ac_send_rej_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument
489 llc_conn_ac_send_rej_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
513 llc_conn_ac_send_rej_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
537 llc_conn_ac_send_rnr_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument
561 llc_conn_ac_send_rnr_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
585 llc_conn_ac_send_rnr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
609 llc_conn_ac_set_remote_busy(struct sock *sk, struct sk_buff *skb) argument
621 llc_conn_ac_opt_send_rnr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
645 llc_conn_ac_send_rr_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument
669 llc_conn_ac_send_rr_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
694 llc_conn_ac_send_ack_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument
718 llc_conn_ac_send_rr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
742 llc_conn_ac_send_ack_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument
766 llc_conn_set_p_flag(struct sock *sk, u8 value) argument
776 llc_conn_ac_send_sabme_cmd_p_set_x(struct sock *sk, struct sk_buff *skb) argument
804 llc_conn_ac_send_ua_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument
831 llc_conn_ac_set_s_flag_0(struct sock *sk, struct sk_buff *skb) argument
837 llc_conn_ac_set_s_flag_1(struct sock *sk, struct sk_buff *skb) argument
843 llc_conn_ac_start_p_timer(struct sock *sk, struct sk_buff *skb) argument
863 llc_conn_ac_send_ack_if_needed(struct sock *sk, struct sk_buff *skb) argument
894 llc_conn_ac_rst_sendack_flag(struct sock *sk, struct sk_buff *skb) argument
910 llc_conn_ac_send_i_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb) argument
939 llc_conn_ac_send_i_as_ack(struct sock *sk, struct sk_buff *skb) argument
965 llc_conn_ac_send_rr_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb) argument
1000 llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb) argument
1023 llc_conn_ac_adjust_npta_by_rr(struct sock *sk, struct sk_buff *skb) argument
1049 llc_conn_ac_adjust_npta_by_rnr(struct sock *sk, struct sk_buff *skb) argument
1074 llc_conn_ac_dec_tx_win_size(struct sock *sk, struct sk_buff *skb) argument
1094 llc_conn_ac_inc_tx_win_size(struct sock *sk, struct sk_buff *skb) argument
1104 llc_conn_ac_stop_all_timers(struct sock *sk, struct sk_buff *skb) argument
1110 llc_conn_ac_stop_other_timers(struct sock *sk, struct sk_buff *skb) argument
1122 llc_conn_ac_start_ack_timer(struct sock *sk, struct sk_buff *skb) argument
1130 llc_conn_ac_start_rej_timer(struct sock *sk, struct sk_buff *skb) argument
1139 llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk, struct sk_buff *skb) argument
1150 llc_conn_ac_stop_ack_timer(struct sock *sk, struct sk_buff *skb) argument
1156 llc_conn_ac_stop_p_timer(struct sock *sk, struct sk_buff *skb) argument
1165 llc_conn_ac_stop_rej_timer(struct sock *sk, struct sk_buff *skb) argument
1171 llc_conn_ac_upd_nr_received(struct sock *sk, struct sk_buff *skb) argument
1207 llc_conn_ac_upd_p_flag(struct sock *sk, struct sk_buff *skb) argument
1223 llc_conn_ac_set_data_flag_2(struct sock *sk, struct sk_buff *skb) argument
1229 llc_conn_ac_set_data_flag_0(struct sock *sk, struct sk_buff *skb) argument
1235 llc_conn_ac_set_data_flag_1(struct sock *sk, struct sk_buff *skb) argument
1241 llc_conn_ac_set_data_flag_1_if_data_flag_eq_0(struct sock *sk, struct sk_buff *skb) argument
1249 llc_conn_ac_set_p_flag_0(struct sock *sk, struct sk_buff *skb) argument
1255 llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb) argument
1261 llc_conn_ac_set_remote_busy_0(struct sock *sk, struct sk_buff *skb) argument
1267 llc_conn_ac_set_cause_flag_0(struct sock *sk, struct sk_buff *skb) argument
1273 llc_conn_ac_set_cause_flag_1(struct sock *sk, struct sk_buff *skb) argument
1279 llc_conn_ac_set_retry_cnt_0(struct sock *sk, struct sk_buff *skb) argument
1285 llc_conn_ac_inc_retry_cnt_by_1(struct sock *sk, struct sk_buff *skb) argument
1291 llc_conn_ac_set_vr_0(struct sock *sk, struct sk_buff *skb) argument
1297 llc_conn_ac_inc_vr_by_1(struct sock *sk, struct sk_buff *skb) argument
1303 llc_conn_ac_set_vs_0(struct sock *sk, struct sk_buff *skb) argument
1309 llc_conn_ac_set_vs_nr(struct sock *sk, struct sk_buff *skb) argument
1315 llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb) argument
1321 llc_conn_tmr_common_cb(struct sock *sk, u8 type) argument
1364 llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb) argument
1371 llc_conn_ac_upd_vs(struct sock *sk, struct sk_buff *skb) argument
1390 llc_conn_disc(struct sock *sk, struct sk_buff *skb) argument
1403 llc_conn_reset(struct sock *sk, struct sk_buff *skb) argument
1437 llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb) argument
[all...]
/linux-master/net/bluetooth/
H A Dhci_sock.c49 #define hci_pi(sk) ((struct hci_pinfo *) sk)
63 static struct hci_dev *hci_hdev_from_sock(struct sock *sk) argument
65 struct hci_dev *hdev = hci_pi(sk)->hdev;
74 void hci_sock_set_flag(struct sock *sk, int nr) argument
76 set_bit(nr, &hci_pi(sk)->flags);
79 void hci_sock_clear_flag(struct sock *sk, int nr) argument
81 clear_bit(nr, &hci_pi(sk)->flags);
84 int hci_sock_test_flag(struct sock *sk, int nr) argument
86 return test_bit(nr, &hci_pi(sk)
89 hci_sock_get_channel(struct sock *sk) argument
94 hci_sock_get_cookie(struct sock *sk) argument
99 hci_sock_gen_cookie(struct sock *sk) argument
116 hci_sock_free_cookie(struct sock *sk) argument
165 is_filtered_packet(struct sock *sk, struct sk_buff *skb) argument
205 struct sock *sk; local
267 hci_sock_copy_creds(struct sock *sk, struct sk_buff *skb) argument
318 struct sock *sk; local
423 struct sock *sk; local
552 create_monitor_ctrl_open(struct sock *sk) argument
612 create_monitor_ctrl_close(struct sock *sk) argument
652 create_monitor_ctrl_command(struct sock *sk, u16 index, u16 opcode, u16 len, const void *buf) argument
682 send_monitor_note(struct sock *sk, const char *fmt, ...) argument
715 send_monitor_replay(struct sock *sk) argument
759 struct sock *sk; local
830 struct sock *sk; local
896 struct sock *sk = sock->sk; local
996 hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg) argument
1040 struct sock *sk = sock->sk; local
1185 struct sock *sk = sock->sk; local
1485 struct sock *sk = sock->sk; local
1512 hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) argument
1553 struct sock *sk = sock->sk; local
1610 hci_mgmt_cmd(struct hci_mgmt_chan *chan, struct sock *sk, struct sk_buff *skb) argument
1725 hci_logging_frame(struct sock *sk, struct sk_buff *skb, unsigned int flags) argument
1794 struct sock *sk = sock->sk; local
1932 struct sock *sk = sock->sk; local
2010 struct sock *sk = sock->sk; local
2059 struct sock *sk = sock->sk; local
2124 struct sock *sk = sock->sk; local
2154 hci_sock_destruct(struct sock *sk) argument
2193 struct sock *sk; local
[all...]
/linux-master/net/netfilter/
H A Dxt_socket.c53 struct sock *sk = skb->sk; local
55 if (sk && !net_eq(xt_net(par), sock_net(sk)))
56 sk = NULL;
58 if (!sk)
59 sk = nf_sk_lookup_slow_v4(xt_net(par), skb, xt_in(par));
61 if (sk) {
69 sk_fullsock(sk) &&
70 inet_sk(sk)
114 struct sock *sk = skb->sk; local
[all...]
/linux-master/net/unix/
H A Dunix_bpf.c15 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, argument
19 struct unix_sock *u = unix_sk(sk);
22 if (sk->sk_shutdown & RCV_SHUTDOWN)
28 add_wait_queue(sk_sleep(sk), &wait);
29 sk_set_bit(SOCKWQ_ASYNC_WAITDATA, sk);
30 if (!unix_sk_has_data(sk, psock)) {
34 ret = unix_sk_has_data(sk, psock);
36 sk_clear_bit(SOCKWQ_ASYNC_WAITDATA, sk);
37 remove_wait_queue(sk_sleep(sk), &wait);
41 static int __unix_recvmsg(struct sock *sk, struc argument
50 unix_bpf_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, int *addr_len) argument
144 unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) argument
160 unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) argument
[all...]
/linux-master/net/ieee802154/
H A Dsocket.c82 struct sock *sk = sock->sk; local
84 if (sk) {
85 sock->sk = NULL;
86 sk->sk_prot->close(sk, 0);
94 struct sock *sk = sock->sk; local
96 return sk->sk_prot->sendmsg(sk, ms
102 struct sock *sk = sock->sk; local
113 struct sock *sk = sock->sk; local
124 ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg, unsigned int cmd) argument
155 struct sock *sk = sock->sk; local
173 raw_hash(struct sock *sk) argument
183 raw_unhash(struct sock *sk) argument
191 raw_close(struct sock *sk, long timeout) argument
196 raw_bind(struct sock *sk, struct sockaddr *_uaddr, int len) argument
230 raw_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) argument
236 raw_disconnect(struct sock *sk, int flags) argument
241 raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) argument
315 raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, int *addr_len) argument
348 raw_rcv_skb(struct sock *sk, struct sk_buff *skb) argument
364 struct sock *sk; local
382 raw_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen) argument
388 raw_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, unsigned int optlen) argument
436 struct sock sk; member in struct:dgram_sock
451 dgram_sk(const struct sock *sk) argument
456 dgram_hash(struct sock *sk) argument
466 dgram_unhash(struct sock *sk) argument
474 dgram_init(struct sock *sk) argument
483 dgram_close(struct sock *sk, long timeout) argument
488 dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len) argument
533 dgram_ioctl(struct sock *sk, int cmd, int *karg) argument
566 dgram_connect(struct sock *sk, struct sockaddr *uaddr, int len) argument
595 dgram_disconnect(struct sock *sk, int flags) argument
606 dgram_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) argument
705 dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, int *addr_len) argument
760 dgram_rcv_skb(struct sock *sk, struct sk_buff *skb) argument
795 struct sock *sk, *prev = NULL; local
834 dgram_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen) argument
881 dgram_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, unsigned int optlen) argument
993 ieee802154_sock_destruct(struct sock *sk) argument
1004 struct sock *sk; local
[all...]
/linux-master/net/tls/
H A Dtls_main.c131 void update_sk_prot(struct sock *sk, struct tls_context *ctx) argument
133 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4;
135 WRITE_ONCE(sk->sk_prot,
137 WRITE_ONCE(sk->sk_socket->ops,
141 int wait_on_pending_writer(struct sock *sk, long *timeo) argument
146 add_wait_queue(sk_sleep(sk), &wait);
158 ret = sk_wait_event(sk, timeo,
159 !READ_ONCE(sk->sk_write_pending), &wait);
166 remove_wait_queue(sk_sleep(sk), &wait);
170 int tls_push_sg(struct sock *sk, argument
228 tls_handle_open_record(struct sock *sk, int flags) argument
238 tls_process_cmsg(struct sock *sk, struct msghdr *msg, unsigned char *record_type) argument
273 tls_push_partial_record(struct sock *sk, struct tls_context *ctx, int flags) argument
286 tls_free_partial_record(struct sock *sk, struct tls_context *ctx) argument
297 tls_write_space(struct sock *sk) argument
328 tls_ctx_free(struct sock *sk, struct tls_context *ctx) argument
343 tls_sk_proto_cleanup(struct sock *sk, struct tls_context *ctx, long timeo) argument
368 tls_sk_proto_close(struct sock *sk, long timeout) argument
409 struct sock *sk = sock->sk; local
437 do_tls_getsockopt_conf(struct sock *sk, char __user *optval, int __user *optlen, int tx) argument
498 do_tls_getsockopt_tx_zc(struct sock *sk, char __user *optval, int __user *optlen) argument
518 do_tls_getsockopt_no_pad(struct sock *sk, char __user *optval, int __user *optlen) argument
546 do_tls_getsockopt(struct sock *sk, int optname, char __user *optval, int __user *optlen) argument
575 tls_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen) argument
612 do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, unsigned int optlen, int tx) argument
717 do_tls_setsockopt_tx_zc(struct sock *sk, sockptr_t optval, unsigned int optlen) argument
737 do_tls_setsockopt_no_pad(struct sock *sk, sockptr_t optval, unsigned int optlen) argument
769 do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, unsigned int optlen) argument
797 tls_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, unsigned int optlen) argument
809 tls_ctx_create(struct sock *sk) argument
867 tls_build_proto(struct sock *sk) argument
942 tls_init(struct sock *sk) argument
979 tls_update(struct sock *sk, struct proto *p, void (*write_space)(struct sock *sk)) argument
1014 tls_get_info(struct sock *sk, struct sk_buff *skb) argument
1072 tls_get_info_size(const struct sock *sk) argument
[all...]

Completed in 482 milliseconds

1234567891011>>