Home
last modified time | relevance | path

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

12345

/net/sctp/
Dssnmap.c37 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
38 __u16 out);
43 static inline size_t sctp_ssnmap_size(__u16 in, __u16 out) in sctp_ssnmap_size()
45 return sizeof(struct sctp_ssnmap) + (in + out) * sizeof(__u16); in sctp_ssnmap_size()
52 struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out, in sctp_ssnmap_new()
85 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in, in sctp_ssnmap_init()
86 __u16 out) in sctp_ssnmap_init()
91 map->in.ssn = (__u16 *)&map[1]; in sctp_ssnmap_init()
106 size = (map->in.len + map->out.len) * sizeof(__u16); in sctp_ssnmap_clear()
Dtsnmap.c45 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off,
46 __u16 len, __u16 *start, __u16 *end);
50 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init()
169 __u16 *start, __u16 *end) in sctp_tsnmap_next_gap_ack()
172 __u16 start_ = 0, end_ = 0, offset; in sctp_tsnmap_next_gap_ack()
262 __u16 sctp_tsnmap_pending(struct sctp_tsnmap *map) in sctp_tsnmap_pending()
267 __u16 pending_data; in sctp_tsnmap_pending()
287 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, in sctp_tsnmap_find_gap_ack()
288 __u16 len, __u16 *start, __u16 *end) in sctp_tsnmap_find_gap_ack()
332 __u16 sctp_tsnmap_num_gabs(struct sctp_tsnmap *map, in sctp_tsnmap_num_gabs()
[all …]
Dauth.c94 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp) in sctp_auth_shkey_create()
196 __u16 random_len, hmacs_len, chunks_len = 0; in sctp_auth_make_key_vector()
420 __u16 key_id) in sctp_auth_get_shkey()
443 __u16 id; in sctp_auth_init_hmacs()
509 struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id) in sctp_auth_get_hmac()
520 __u16 n_elt; in sctp_auth_asoc_get_hmac()
521 __u16 id = 0; in sctp_auth_asoc_get_hmac()
580 __u16 n_elt; in sctp_auth_asoc_verify_hmac_id()
601 __u16 id; in sctp_auth_asoc_set_default_hmac()
706 __u16 key_id, hmac_id; in sctp_auth_calculate_hmac()
[all …]
Dulpqueue.c760 __u16 sid, csid, cssn; in sctp_ulpq_retrieve_ordered()
800 __u16 sid, csid; in sctp_ulpq_store_ordered()
801 __u16 ssn, cssn; in sctp_ulpq_store_ordered()
847 __u16 sid, ssn; in sctp_ulpq_order()
882 static void sctp_ulpq_reap_ordered(struct sctp_ulpq *ulpq, __u16 sid) in sctp_ulpq_reap_ordered()
890 __u16 csid, cssn; in sctp_ulpq_reap_ordered()
952 void sctp_ulpq_skip(struct sctp_ulpq *ulpq, __u16 sid, __u16 ssn) in sctp_ulpq_skip()
972 static __u16 sctp_ulpq_renege_list(struct sctp_ulpq *ulpq, in sctp_ulpq_renege_list()
973 struct sk_buff_head *list, __u16 needed) in sctp_ulpq_renege_list()
975 __u16 freed = 0; in sctp_ulpq_renege_list()
[all …]
Dulpevent.c128 __u16 flags, __u16 state, __u16 error, __u16 outbound, in sctp_ulpevent_make_assoc_change()
129 __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_make_assoc_change()
371 struct sctp_chunk *chunk, __u16 flags, in sctp_ulpevent_make_remote_error()
428 __u16 flags, __u32 error, gfp_t gfp) in sctp_ulpevent_make_send_failed()
537 __u16 flags, gfp_t gfp) in sctp_ulpevent_make_shutdown_event()
784 const struct sctp_association *asoc, __u16 key_id, in sctp_ulpevent_make_authkey()
851 __u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event) in sctp_ulpevent_get_notification_type()
/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.c129 __u16 parser;
130 __u16 rd_size;
134 __u16 vendor;
135 __u16 product;
136 __u16 version;
/net/bluetooth/bnep/
Dbnep.h118 __u16 role;
129 __u16 role;
130 __u16 state;
141 __u16 start;
142 __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()
151 __u8 subcmd, __u16 appl, __u16 msgnum, in cmtp_send_interopmsg()
152 __u16 function, unsigned char *buf, int len) in cmtp_send_interopmsg()
190 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg()
329 __u16 appl; in cmtp_recv_capimsg()
387 static void cmtp_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) in cmtp_register_appl()
456 static void cmtp_release_appl(struct capi_ctr *ctrl, __u16 appl) in cmtp_release_appl()
484 __u16 appl; in cmtp_send_message()
/net/irda/
Dqos.c192 static int msb_index (__u16 word) in msb_index()
194 __u16 msb = 0x8000; in msb_index()
223 static inline int value_lower_bits(__u32 value, __u32 *array, int size, __u16 *field) in value_lower_bits()
226 __u16 mask = 0x1; in value_lower_bits()
227 __u16 result = 0x0; in value_lower_bits()
249 static inline int value_highest_bit(__u32 value, __u32 *array, int size, __u16 *field) in value_highest_bit()
252 __u16 mask = 0x1; in value_highest_bit()
253 __u16 result = 0x0; in value_highest_bit()
531 __u16 final; in irlap_param_baud_rate()
547 IRDA_DEBUG(2, "Requested BAUD_RATE: 0x%04x\n", (__u16) param->pv.i); in irlap_param_baud_rate()
[all …]
Dparameters.c173 p.pv.i = cpu_to_be16((__u16) p.pv.i); in irda_insert_integer()
175 p.pv.i = cpu_to_le16((__u16) p.pv.i); in irda_insert_integer()
176 n += irda_param_pack(buf, "bbs", p.pi, p.pl, (__u16) p.pv.i); in irda_insert_integer()
256 p.pv.i = be16_to_cpu((__u16) p.pv.i); in irda_extract_integer()
258 p.pv.i = le16_to_cpu((__u16) p.pv.i); in irda_extract_integer()
380 arg.i = (__u16)va_arg(args, int); in irda_param_pack()
381 put_unaligned((__u16)arg.i, (__u16 *)(buf+n)); n+=2; in irda_param_pack()
425 *arg.ip = get_unaligned((__u16 *)(buf+n)); n+=2; in irda_param_unpack()
Ddiscovery.c92 if (get_unaligned((__u16 *)node->data.hints) == get_unaligned((__u16 *)new->data.hints)) in irlmp_add_discovery()
266 __u16 mask, int old_entries) in irlmp_copy_discoveries()
286 if ((get_unaligned((__u16 *)discovery->data.hints) & mask) && in irlmp_copy_discoveries()
Dirlmp.c851 __u16 *data_hintsp; in irlmp_do_discovery()
861 data_hintsp = (__u16 *) irlmp->discovery_cmd.data.hints; in irlmp_do_discovery()
930 struct irda_device_info *irlmp_get_discoveries(int *pn, __u16 mask, int nslots) in irlmp_get_discoveries()
1074 get_unaligned((__u16 *)expiries[i].hints) in irlmp_discovery_expiry()
1098 put_unaligned(irlmp->hints.word, (__u16 *)irlmp->discovery_rsp.data.hints); in irlmp_get_discovery_response()
1453 static const __u16 service_hint_mapping[S_END][2] = {
1474 __u16 irlmp_service_to_hint(int service) in irlmp_service_to_hint()
1491 void *irlmp_register_service(__u16 hints) in irlmp_register_service()
1565 void *irlmp_register_client(__u16 hint_mask, DISCOVERY_CALLBACK1 disco_clb, in irlmp_register_client()
1601 int irlmp_update_client(void *handle, __u16 hint_mask, in irlmp_update_client()
/net/irda/irnet/
Dirnet_irda.h73 __u16);
144 __u16,
149 __u16,
/net/bluetooth/
Damp.h21 __u16 assoc_len_so_far;
22 __u16 assoc_rem_len;
23 __u16 assoc_len;
/net/irda/irlan/
Dirlan_common.c104 __u8 value_byte, __u16 value_short,
105 __u8 *value_array, __u16 value_len);
119 __u16 hints; in irlan_init()
957 int irlan_insert_short_param(struct sk_buff *skb, char *param, __u16 value) in irlan_insert_short_param()
983 __u16 array_len) in irlan_insert_array_param()
999 __u8 value_byte, __u16 value_short, in __irlan_insert_param()
1000 __u8 *value_array, __u16 value_len) in __irlan_insert_param()
1075 int irlan_extract_param(__u8 *buf, char *name, char *value, __u16 *len) in irlan_extract_param()
1078 __u16 val_len; in irlan_extract_param()
Dirlan_client.c370 __u16 val_len; in irlan_client_parse_response()
436 __u16 tmp_cpu; /* Temporary value in host order */ in irlan_check_response_param()
535 void irlan_client_get_value_confirm(int result, __u16 obj_id, in irlan_client_get_value_confirm()
/net/bridge/
Dbr_fdb.c32 __u16 vid);
74 static inline int br_mac_hash(const unsigned char *mac, __u16 vid) in br_mac_hash()
348 __u16 vid) in __br_fdb_get()
443 __u16 vid) in fdb_find()
457 __u16 vid) in fdb_find_rcu()
472 __u16 vid) in fdb_create()
725 __u16 state, __u16 flags, __u16 vid) in fdb_add_entry()
/net/ipv6/
Dsyncookies.c37 static __u16 const msstab[] = {
117 const struct tcphdr *th, __u16 *mssp) in __cookie_v6_init_sequence()
120 const __u16 mss = *mssp; in __cookie_v6_init_sequence()
133 __u32 cookie_v6_init_sequence(struct sock *sk, const struct sk_buff *skb, __u16 *mssp) in cookie_v6_init_sequence()
/net/irda/ircomm/
Dircomm_param.c352 self->settings.xonxoff[0] = (__u16) param->pv.i & 0xff; in ircomm_param_xon_xoff()
353 self->settings.xonxoff[1] = (__u16) param->pv.i >> 8; in ircomm_param_xon_xoff()
379 self->settings.enqack[0] = (__u16) param->pv.i & 0xff; in ircomm_param_enq_ack()
380 self->settings.enqack[1] = (__u16) param->pv.i >> 8; in ircomm_param_enq_ack()
/net/netfilter/ipvs/
Dip_vs_app.c78 ip_vs_app_inc_new(struct net *net, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new()
79 __u16 port) in ip_vs_app_inc_new()
178 register_ip_vs_app_inc(struct net *net, struct ip_vs_app *app, __u16 proto, in register_ip_vs_app_inc()
179 __u16 port) in register_ip_vs_app_inc()
/net/ipv4/
Dsyncookies.c145 static __u16 const msstab[] = {
160 const __u16 mss = *mssp; in __cookie_v4_init_sequence()
174 __u16 *mssp) in cookie_v4_init_sequence()
Dinet_hashtables.c28 const __u16 lport, const __be32 faddr, in inet_ehashfn()
44 const __u16 lport = inet->inet_num; in inet_sk_ehashfn()
322 struct sock *sk, __u16 lport, in __inet_check_established()
480 struct sock *, __u16, struct inet_timewait_sock **), in __inet_hash_connect() argument
/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()

12345