Home
last modified time | relevance | path

Searched refs:__u16 (Results 1 – 25 of 93) sorted by relevance

1234

/net/sctp/
Dtsnmap.c30 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off,
31 __u16 len, __u16 *start, __u16 *end);
35 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init()
154 __u16 *start, __u16 *end) in sctp_tsnmap_next_gap_ack()
157 __u16 start_ = 0, end_ = 0, offset; in sctp_tsnmap_next_gap_ack()
247 __u16 sctp_tsnmap_pending(struct sctp_tsnmap *map) in sctp_tsnmap_pending()
252 __u16 pending_data; in sctp_tsnmap_pending()
272 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, in sctp_tsnmap_find_gap_ack()
273 __u16 len, __u16 *start, __u16 *end) in sctp_tsnmap_find_gap_ack()
317 __u16 sctp_tsnmap_num_gabs(struct sctp_tsnmap *map, in sctp_tsnmap_num_gabs()
[all …]
Dstream_sched.c25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_set()
26 __u16 value, gfp_t gfp) in sctp_sched_fcfs_set()
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_get()
32 __u16 *value) in sctp_sched_fcfs_get()
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_init_sid()
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fcfs_free_sid()
204 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value()
205 __u16 value, gfp_t gfp) in sctp_sched_set_value()
221 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value()
222 __u16 *value) in sctp_sched_get_value()
[all …]
Dstream_sched_rr.c65 static int sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_set()
66 __u16 prio, gfp_t gfp) in sctp_sched_rr_set()
71 static int sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_get()
72 __u16 *value) in sctp_sched_rr_get()
85 static int sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_rr_init_sid()
93 static void sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_rr_free_sid()
107 __u16 sid; in sctp_sched_rr_enqueue()
142 __u16 sid; in sctp_sched_rr_dequeue_done()
162 __u16 sid; in sctp_sched_rr_sched_all()
Dstream.c25 static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt) in sctp_stream_shrink_out()
35 __u16 sid = sctp_chunk_stream_no(ch); in sctp_stream_shrink_out()
55 static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_free_ext()
73 struct sctp_stream *new, __u16 outcnt) in sctp_stream_outq_migrate()
96 static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt, in sctp_stream_alloc_out()
113 static int sctp_stream_alloc_in(struct sctp_stream *stream, __u16 incnt, in sctp_stream_alloc_in()
130 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, in sctp_stream_init()
164 int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_init_ext()
242 __u16 str_nums, __be16 *str_list) in sctp_stream_outq_is_empty()
245 __u16 i; in sctp_stream_outq_is_empty()
[all …]
Dauth.c79 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp) in sctp_auth_shkey_create()
193 __u16 random_len, hmacs_len, chunks_len = 0; in sctp_auth_make_key_vector()
431 __u16 key_id) in sctp_auth_get_shkey()
457 __u16 id; in sctp_auth_init_hmacs()
516 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id) in sctp_auth_get_hmac()
527 __u16 n_elt; in sctp_auth_asoc_get_hmac()
528 __u16 id = 0; in sctp_auth_asoc_get_hmac()
588 __u16 n_elt; in sctp_auth_asoc_verify_hmac_id()
610 __u16 id; in sctp_auth_asoc_set_default_hmac()
713 __u16 key_id, hmac_id; in sctp_auth_calculate_hmac()
[all …]
Dstream_sched_prio.c163 static int sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_set()
164 __u16 prio, gfp_t gfp) in sctp_sched_prio_set()
188 static int sctp_sched_prio_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_get()
189 __u16 *value) in sctp_sched_prio_get()
202 static int sctp_sched_prio_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_prio_init_sid()
209 static void sctp_sched_prio_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_prio_free_sid()
246 __u16 sid; in sctp_sched_prio_enqueue()
287 __u16 sid; in sctp_sched_prio_dequeue_done()
310 __u16 sid; in sctp_sched_prio_sched_all()
Dulpevent.c39 __u16 msg_flags, in sctp_ulpevent_init()
48 static struct sctp_ulpevent *sctp_ulpevent_new(int size, __u16 msg_flags, in sctp_ulpevent_new()
116 __u16 flags, __u16 state, __u16 error, __u16 outbound, in sctp_ulpevent_make_assoc_change()
117 __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_make_assoc_change()
375 struct sctp_chunk *chunk, __u16 flags, in sctp_ulpevent_make_remote_error()
432 __u16 flags, __u32 error, gfp_t gfp) in sctp_ulpevent_make_send_failed()
535 __u16 flags, __u32 error, gfp_t gfp) in sctp_ulpevent_make_send_failed_event()
579 __u16 flags, gfp_t gfp) in sctp_ulpevent_make_shutdown_event()
826 const struct sctp_association *asoc, __u16 key_id, in sctp_ulpevent_make_authkey()
889 const struct sctp_association *asoc, __u16 flags, __u16 stream_num, in sctp_ulpevent_make_stream_reset_event()
[all …]
Dulpqueue.c752 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered()
792 __u16 sid, csid; in sctp_ulpq_store_ordered()
793 __u16 ssn, cssn; in sctp_ulpq_store_ordered()
839 __u16 sid, ssn; in sctp_ulpq_order()
874 static void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid) in sctp_ulpq_reap_ordered()
882 __u16 csid, cssn; in sctp_ulpq_reap_ordered()
944 void sctp_ulpq_skip(struct sctp_ulpq *ulpq, __u16 sid, __u16 ssn) in sctp_ulpq_skip()
964 __u16 sctp_ulpq_renege_list(struct sctp_ulpq *ulpq, struct sk_buff_head *list, in sctp_ulpq_renege_list()
965 __u16 needed) in sctp_ulpq_renege_list()
967 __u16 freed = 0; in sctp_ulpq_renege_list()
[all …]
Dstream_interleave.c53 __u16 sid; in sctp_chunk_assign_mid()
90 __u16 sid, ssn; in sctp_validate_data()
109 __u16 sid; in sctp_validate_idata()
423 __u16 sid = event->stream; in sctp_intl_retrieve_ordered()
452 __u16 sid; in sctp_intl_order()
769 __u16 sid = 0; in sctp_intl_retrieve_first_uo()
875 __u16 sid = 0; in sctp_intl_retrieve_first()
965 __u16 needed; in sctp_renege_events()
986 static void sctp_intl_stream_abort_pd(struct sctp_ulpq *ulpq, __u16 sid, in sctp_intl_stream_abort_pd()
987 __u32 mid, __u16 flags, gfp_t gfp) in sctp_intl_stream_abort_pd()
[all …]
Dsm_make_chunk.c147 __u16 len; in sctp_init_cause()
338 sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); in sctp_make_init()
758 __u16 num_gabs, num_dup_tsns; in sctp_make_sack()
1282 __u16 key_id) in sctp_make_auth()
1539 __u16 ssn, sid; in sctp_chunk_assign_ssn()
1884 __u16 len; in sctp_process_missing_param()
1949 __u16 len = ntohs(param.p->length); in sctp_process_hn_param()
1970 __u16 num_ext = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); in sctp_verify_ext_param()
2004 __u16 num_ext = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); in sctp_process_ext_param()
2127 __u16 n_elt, id = 0; in sctp_verify_param()
[all …]
/net/bluetooth/hidp/
Dhidp.h92 __u16 parser;
93 __u16 rd_size;
97 __u16 vendor;
98 __u16 product;
99 __u16 version;
113 __u16 state;
114 __u16 vendor;
115 __u16 product;
116 __u16 version;
Dsock.c134 __u16 parser;
135 __u16 rd_size;
139 __u16 vendor;
140 __u16 product;
141 __u16 version;
/net/bluetooth/bnep/
Dbnep.h112 __u16 role;
123 __u16 role;
124 __u16 state;
135 __u16 start;
136 __u16 end;
/net/bluetooth/cmtp/
Dcmtp.h52 __u16 state;
109 __u16 appl;
110 __u16 mapping;
112 __u16 msgnum;
Dcapi.c73 static struct cmtp_application *cmtp_application_add(struct cmtp_session *session, __u16 appl) in cmtp_application_add()
100 …ruct cmtp_application *cmtp_application_get(struct cmtp_session *session, int pattern, __u16 value) in cmtp_application_get()
149 __u8 subcmd, __u16 appl, __u16 msgnum, in cmtp_send_interopmsg()
150 __u16 function, unsigned char *buf, int len) in cmtp_send_interopmsg()
188 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg()
321 __u16 appl; in cmtp_recv_capimsg()
379 static void cmtp_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) in cmtp_register_appl()
448 static void cmtp_release_appl(struct capi_ctr *ctrl, __u16 appl) in cmtp_release_appl()
476 __u16 appl; in cmtp_send_message()
/net/dccp/
Dtrace.h24 __field(__u16, sport)
25 __field(__u16, dport)
26 __field(__u16, size)
27 __field(__u16, tx_s)
/net/bluetooth/
Damp.h14 __u16 assoc_len_so_far;
15 __u16 assoc_rem_len;
16 __u16 assoc_len;
Dmgmt_config.c16 { cpu_to_le16(_param_code_), sizeof(__u16) }, \
22 { cpu_to_le16(_param_code_), sizeof(__u16) }, \
Dhci_core.c1645 int hci_dev_open(__u16 dev) in hci_dev_open()
1848 int hci_dev_close(__u16 dev) in hci_dev_close()
1906 int hci_dev_reset(__u16 dev) in hci_dev_reset()
1937 int hci_dev_reset_stat(__u16 dev) in hci_dev_reset_stat()
2073 hdev->link_mode = ((__u16) dr.dev_opt) & in hci_dev_cmd()
2078 if (hdev->pkt_type == (__u16) dr.dev_opt) in hci_dev_cmd()
2081 hdev->pkt_type = (__u16) dr.dev_opt; in hci_dev_cmd()
2086 hdev->acl_mtu = *((__u16 *) &dr.dev_opt + 1); in hci_dev_cmd()
2087 hdev->acl_pkts = *((__u16 *) &dr.dev_opt + 0); in hci_dev_cmd()
2091 hdev->sco_mtu = *((__u16 *) &dr.dev_opt + 1); in hci_dev_cmd()
[all …]
/net/ipv6/
Dsyncookies.c33 static __u16 const msstab[] = {
93 const struct tcphdr *th, __u16 *mssp) in __cookie_v6_init_sequence()
96 const __u16 mss = *mssp; in __cookie_v6_init_sequence()
109 __u32 cookie_v6_init_sequence(const struct sk_buff *skb, __u16 *mssp) in cookie_v6_init_sequence()
Dping.c206 __u16 srcp = ntohs(inet->inet_sport); in ping_v6_seq_show()
207 __u16 destp = ntohs(inet->inet_dport); in ping_v6_seq_show()
/net/nfc/nci/
Dcore.c340 __u16 opcode;
366 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, __u8 *payload) in nci_core_cmd()
1350 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) in nci_send_cmd()
1384 __u16 opcode) in ops_cmd_lookup()
1401 static int nci_op_rsp_packet(struct nci_dev *ndev, __u16 rsp_opcode, in nci_op_rsp_packet()
1414 static int nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode, in nci_op_ntf_packet()
1427 int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_rsp_packet()
1434 int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_ntf_packet()
1441 int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_rsp_packet()
1448 int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_ntf_packet()
/net/netfilter/ipvs/
Dip_vs_app.c73 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new()
74 __u16 port) in ip_vs_app_inc_new()
173 register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in register_ip_vs_app_inc()
174 __u16 port) in register_ip_vs_app_inc()
/net/wireless/
Dwext-priv.c57 static int get_priv_size(__u16 args) in get_priv_size()
65 static int adjust_priv_size(__u16 args, struct iw_point *iwp) in adjust_priv_size()
/net/ipv4/
Dsyncookies.c144 static __u16 const msstab[] = {
159 const __u16 mss = *mssp; in __cookie_v4_init_sequence()
172 __u32 cookie_v4_init_sequence(const struct sk_buff *skb, __u16 *mssp) in cookie_v4_init_sequence()

1234