Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/net/bridge/
Dbr_private.h133 u16 vid;
134 u16 flags;
135 u16 priv_flags;
171 u16 num_vlans;
172 u16 pvid;
177 u16 vlan_id;
240 u16 port_no;
279 u16 group_fwd_mask;
280 u16 backup_redirected_cnt;
334 u16 default_pvid;
[all …]
Dbr_vlan.c11 static void nbp_vlan_set_vlan_dev_state(struct net_bridge_port *p, u16 vid);
17 u16 vid = *(u16 *)arg->key; in br_vlan_cmp()
25 .key_len = sizeof(u16),
32 static struct net_bridge_vlan *br_vlan_lookup(struct rhashtable *tbl, u16 vid) in br_vlan_lookup()
37 static bool __vlan_add_pvid(struct net_bridge_vlan_group *vg, u16 vid) in __vlan_add_pvid()
48 static bool __vlan_delete_pvid(struct net_bridge_vlan_group *vg, u16 vid) in __vlan_delete_pvid()
60 static bool __vlan_add_flags(struct net_bridge_vlan *v, u16 flags) in __vlan_add_flags()
63 u16 old_flags = v->flags; in __vlan_add_flags()
85 struct net_bridge_vlan *v, u16 flags, in __vlan_vid_add()
145 br_vlan_get_master(struct net_bridge *br, u16 vid, in br_vlan_get_master()
[all …]
Dbr_private_tunnel.h14 u16 vid;
15 u16 flags;
35 int nbp_vlan_tunnel_info_delete(struct net_bridge_port *port, u16 vid);
36 int nbp_vlan_tunnel_info_add(struct net_bridge_port *port, u16 vid, u32 tun_id);
52 u16 vid) in nbp_vlan_tunnel_info_delete()
58 u16 vid, u32 tun_id) in nbp_vlan_tunnel_info_add()
/net/bluetooth/
Dmgmt_util.h25 u16 opcode;
34 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel,
35 void *data, u16 data_len, int flag, struct sock *skip_sk);
36 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status);
37 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status,
40 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode,
43 u16 opcode,
46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
49 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode,
51 void *data, u16 len);
Dmgmt_util.c34 u16 opcode, u16 len, void *buf) in create_monitor_ctrl_event()
59 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, in mgmt_send_event()
60 void *data, u16 data_len, int flag, struct sock *skip_sk) in mgmt_send_event()
93 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) in mgmt_cmd_status()
136 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, in mgmt_cmd_complete()
184 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find()
200 u16 opcode, in mgmt_pending_find_data()
216 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, in mgmt_pending_foreach()
230 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, in mgmt_pending_add()
232 void *data, u16 len) in mgmt_pending_add()
Dhci_request.h43 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen,
45 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen,
47 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
59 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
121 static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, in eir_append_data()
132 static inline u16 eir_append_le16(u8 *eir, u16 eir_len, u8 type, u16 data) in eir_append_le16()
/net/caif/
Dcfpkt_skbuff.c79 static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx) in cfpkt_create_pfx()
91 inline struct cfpkt *cfpkt_create(u16 len) in cfpkt_create()
108 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
119 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
145 int cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) in cfpkt_extr_trail()
167 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len) in cfpkt_pad_trail()
172 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_body()
177 u16 addlen = 0; in cfpkt_add_body()
215 int cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) in cfpkt_add_head()
242 inline int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_trail()
[all …]
Dcffrml.c35 struct cflayer *cffrml_create(u16 phyid, bool use_fcs) in cffrml_create()
74 static u16 cffrml_checksum(u16 chks, void *buf, u16 len) in cffrml_checksum()
84 u16 tmp; in cffrml_receive()
85 u16 len; in cffrml_receive()
86 u16 hdrchks; in cffrml_receive()
139 u16 chks; in cffrml_transmit()
140 u16 len; in cffrml_transmit()
/net/tipc/
Dcore.h133 u16 capabilities;
169 static inline u16 mod(u16 x) in mod()
174 static inline int less_eq(u16 left, u16 right) in less_eq()
179 static inline int more(u16 left, u16 right) in more()
184 static inline int less(u16 left, u16 right) in less()
189 static inline int in_range(u16 val, u16 min, u16 max) in in_range()
Dmsg.h110 u16 chain_imp;
111 u16 ackers;
112 u16 retr_cnt;
396 static inline u16 msg_bcast_ack(struct tipc_msg *m) in msg_bcast_ack()
401 static inline void msg_set_bcast_ack(struct tipc_msg *m, u16 n) in msg_set_bcast_ack()
419 static inline u16 msg_dest_session(struct tipc_msg *m) in msg_dest_session()
424 static inline void msg_set_dest_session(struct tipc_msg *m, u16 n) in msg_set_dest_session()
432 static inline u16 msg_ack(struct tipc_msg *m) in msg_ack()
437 static inline void msg_set_ack(struct tipc_msg *m, u16 n) in msg_set_ack()
442 static inline u16 msg_seqno(struct tipc_msg *m) in msg_seqno()
[all …]
Dtrace.h131 int tipc_sk_dump(struct sock *sk, u16 dqueues, char *buf);
132 int tipc_link_dump(struct tipc_link *l, u16 dqueues, char *buf);
190 TP_PROTO(struct sock *sk, struct sk_buff *skb, u16 dqueues,
218 TP_PROTO(struct sock *sk, struct sk_buff *skb, u16 dqueues, \
237 TP_PROTO(struct sock *sk, struct sk_buff *skb, u16 dqueues, \
246 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header),
268 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header), \
277 TP_PROTO(struct tipc_link *l, u16 dqueues, const char *header), \
284 TP_PROTO(struct tipc_link *r, u16 f, u16 t, struct sk_buff_head *tq),
290 __field(u16, from)
[all …]
Dlink.c129 u16 peer_session;
130 u16 session;
131 u16 snd_nxt_state;
132 u16 rcv_nxt_state;
138 u16 peer_caps;
146 u16 rst_cnt;
149 u16 drop_point;
154 u16 mtu;
155 u16 advertised_mtu;
161 u16 len;
[all …]
/net/mac80211/
Dagg-rx.c58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session()
59 u16 initiator, u16 reason, bool tx) in ___ieee80211_stop_rx_ba_session()
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session()
118 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session()
125 void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, in ieee80211_stop_rx_ba_session()
214 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, in ieee80211_send_addba_resp()
215 u8 dialog_token, u16 status, u16 policy, in ieee80211_send_addba_resp()
216 u16 buf_size, u16 timeout, in ieee80211_send_addba_resp()
224 u16 capab; in ieee80211_send_addba_resp()
253 capab = (u16)(amsdu << 0); /* bit 0 A-MSDU support */ in ieee80211_send_addba_resp()
[all …]
Drc80211_minstrel_ht.h33 u16 flags;
37 u16 duration[MCS_GROUP_RATES];
47 u16 max_group_tp_rate[MAX_THR_RATES];
48 u16 max_group_prob_rate;
71 u16 max_tp_rate[MAX_THR_RATES];
72 u16 max_prob_rate;
95 u16 sample_rate;
104 u16 supported[MINSTREL_GROUPS_NB];
Dieee80211_i.h94 u16 seq;
95 u16 extra_len;
96 u16 last_frag;
244 u16 tkip_iv16;
248 const u16 *counter_offsets_beacon;
249 const u16 *counter_offsets_presp;
261 u16 csa_counter_offsets[IEEE80211_MAX_CSA_COUNTERS_NUM];
269 u16 csa_counter_offsets[IEEE80211_MAX_CSA_COUNTERS_NUM];
372 u16 algorithm, expected_transaction;
380 u16 sae_trans, sae_status;
[all …]
Dagg-tx.c62 const u8 *da, u16 tid, in ieee80211_send_addba_request()
63 u8 dialog_token, u16 start_seq_num, in ieee80211_send_addba_request()
64 u16 agg_size, u16 timeout) in ieee80211_send_addba_request()
69 u16 capab; in ieee80211_send_addba_request()
98 capab = (u16)(1 << 0); /* bit 0 A-MSDU support */ in ieee80211_send_addba_request()
99 capab |= (u16)(1 << 1); /* bit 1 aggregation policy */ in ieee80211_send_addba_request()
100 capab |= (u16)(tid << 2); /* bit 5:2 TID number */ in ieee80211_send_addba_request()
101 capab |= (u16)(agg_size << 6); /* bit 15:6 max size of aggergation */ in ieee80211_send_addba_request()
112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar()
118 u16 bar_control = 0; in ieee80211_send_bar()
[all …]
Dtkip.c26 static const u16 tkip_sbox[256] =
62 static u16 tkipS(u16 val) in tkipS()
67 static u8 *write_tkip_iv(u8 *pos, u16 iv16) in write_tkip_iv()
86 u16 *p1k = ctx->p1k; in tkip_mixing_phase1()
107 u16 tsc_IV16, u8 *rc4key) in tkip_mixing_phase2()
109 u16 ppk[6]; in tkip_mixing_phase2()
110 const u16 *p1k = ctx->p1k; in tkip_mixing_phase2()
172 u32 iv32, u16 *p1k) in ieee80211_get_tkip_p1k_iv()
186 const u8 *ta, u32 iv32, u16 *p1k) in ieee80211_get_tkip_rx_p1k()
206 u16 iv16 = data[2] | (data[0] << 8); in ieee80211_get_tkip_p2k()
[all …]
Dsta_info.h176 u16 timeout;
180 u16 buf_size;
182 u16 failed_bar_ssn;
231 u16 head_seq_num;
232 u16 stored_mpdu_num;
233 u16 ssn;
234 u16 buf_size;
235 u16 timeout;
387 u16 llid;
388 u16 plid;
[all …]
/net/hsr/
Dhsr_main.h65 static inline u16 get_hsr_tag_path(struct hsr_tag *ht) in get_hsr_tag_path()
70 static inline u16 get_hsr_tag_LSDU_size(struct hsr_tag *ht) in get_hsr_tag_LSDU_size()
75 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path()
81 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size()
106 static inline u16 get_hsr_stag_path(struct hsr_sup_tag *hst) in get_hsr_stag_path()
111 static inline u16 get_hsr_stag_HSR_ver(struct hsr_sup_tag *hst) in get_hsr_stag_HSR_ver()
116 static inline void set_hsr_stag_path(struct hsr_sup_tag *hst, u16 path) in set_hsr_stag_path()
121 static inline void set_hsr_stag_HSR_ver(struct hsr_sup_tag *hst, u16 HSR_ver) in set_hsr_stag_HSR_ver()
161 u16 sequence_nr;
162 u16 sup_sequence_nr; /* For HSRv1 separate seq_nr for supervision */
[all …]
/net/ife/
Dife.c34 void *ife_encode(struct sk_buff *skb, u16 metalen) in ife_encode()
66 void *ife_decode(struct sk_buff *skb, u16 *metalen) in ife_decode()
70 u16 ifehdrln; in ife_decode()
102 u16 tlvlen; in __ife_tlv_meta_valid()
126 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, in ife_tlv_meta_decode()
127 u16 *dlen, u16 *totlen) in ife_tlv_meta_decode()
148 u16 tlvlen = ntohs(tlv->len); in ife_tlv_meta_next()
158 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, const void *dval) in ife_tlv_meta_encode()
161 u16 totlen = nla_total_size(dlen); /*alignment + hdr */ in ife_tlv_meta_encode()
/net/dsa/
Dtag_8021q.c65 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid()
75 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid()
83 int dsa_8021q_rx_switch_id(u16 vid) in dsa_8021q_rx_switch_id()
90 int dsa_8021q_rx_source_port(u16 vid) in dsa_8021q_rx_source_port()
100 u16 pvid; in dsa_8021q_restore_pvid()
130 static int dsa_8021q_vid_apply(struct dsa_switch *ds, int port, u16 vid, in dsa_8021q_vid_apply()
131 u16 flags, bool enabled) in dsa_8021q_vid_apply()
224 u16 rx_vid = dsa_8021q_rx_vid(ds, port); in dsa_port_setup_8021q_tagging()
225 u16 tx_vid = dsa_8021q_tx_vid(ds, port); in dsa_port_setup_8021q_tagging()
240 u16 flags; in dsa_port_setup_8021q_tagging()
[all …]
Ddsa_priv.h45 u16 vid;
91 const unsigned char *addr, u16 vid,
92 u16 flags,
96 const unsigned char *addr, u16 vid);
140 u16 vid);
142 u16 vid);
160 int dsa_port_vid_add(struct dsa_port *dp, u16 vid, u16 flags);
161 int dsa_port_vid_del(struct dsa_port *dp, u16 vid);
/net/wireless/
Dlib80211_crypt_tkip.c48 u16 tx_iv16;
49 u16 tx_ttak[5];
53 u16 rx_iv16;
54 u16 rx_ttak[5];
57 u16 rx_iv16_new;
137 static inline u16 RotR1(u16 val) in RotR1()
142 static inline u8 Lo8(u16 val) in Lo8()
147 static inline u8 Hi8(u16 val) in Hi8()
152 static inline u16 Lo16(u32 val) in Lo16()
157 static inline u16 Hi16(u32 val) in Hi16()
[all …]
/net/batman-adv/
Dtvlv.h17 void *tvlv_value, u16 tvlv_value_len);
18 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv,
32 u16 tvlv_value_len),
36 u16 tvlv_value_len),
44 void *tvlv_buff, u16 tvlv_buff_len);
47 void *tvlv_value, u16 tvlv_value_len);
/net/8021q/
Dvlan.h54 u16 vlan_id) in __vlan_group_get_device()
65 u16 vlan_id) in vlan_group_get_device()
71 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device()
84 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev()
117 u32 skb_prio, u16 vlan_prio);
119 u32 skb_prio, u16 vlan_prio);
124 __be16 protocol, u16 vlan_id,
134 u16 vlan_tci) in vlan_get_ingress_priority()

12345678910>>...17