• Home
  • Raw
  • Download

Lines Matching refs:pos

111 	u8 *pos, ie_len;  in mesh_path_sel_frame_tx()  local
137 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
138 *pos++ = WLAN_EID_PREQ; in mesh_path_sel_frame_tx()
143 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
144 *pos++ = WLAN_EID_PREP; in mesh_path_sel_frame_tx()
149 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
150 *pos++ = WLAN_EID_RANN; in mesh_path_sel_frame_tx()
156 *pos++ = ie_len; in mesh_path_sel_frame_tx()
157 *pos++ = flags; in mesh_path_sel_frame_tx()
158 *pos++ = hop_count; in mesh_path_sel_frame_tx()
159 *pos++ = ttl; in mesh_path_sel_frame_tx()
161 memcpy(pos, target, ETH_ALEN); in mesh_path_sel_frame_tx()
162 pos += ETH_ALEN; in mesh_path_sel_frame_tx()
163 put_unaligned_le32(target_sn, pos); in mesh_path_sel_frame_tx()
164 pos += 4; in mesh_path_sel_frame_tx()
167 put_unaligned_le32(preq_id, pos); in mesh_path_sel_frame_tx()
168 pos += 4; in mesh_path_sel_frame_tx()
170 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
171 pos += ETH_ALEN; in mesh_path_sel_frame_tx()
172 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
173 pos += 4; in mesh_path_sel_frame_tx()
175 put_unaligned_le32(lifetime, pos); /* interval for RANN */ in mesh_path_sel_frame_tx()
176 pos += 4; in mesh_path_sel_frame_tx()
177 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
178 pos += 4; in mesh_path_sel_frame_tx()
180 *pos++ = 1; /* destination count */ in mesh_path_sel_frame_tx()
181 *pos++ = target_flags; in mesh_path_sel_frame_tx()
182 memcpy(pos, target, ETH_ALEN); in mesh_path_sel_frame_tx()
183 pos += ETH_ALEN; in mesh_path_sel_frame_tx()
184 put_unaligned_le32(target_sn, pos); in mesh_path_sel_frame_tx()
185 pos += 4; in mesh_path_sel_frame_tx()
187 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
188 pos += ETH_ALEN; in mesh_path_sel_frame_tx()
189 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
190 pos += 4; in mesh_path_sel_frame_tx()
242 u8 *pos, ie_len; in mesh_path_error_tx() local
269 pos = skb_put(skb, 2 + ie_len); in mesh_path_error_tx()
270 *pos++ = WLAN_EID_PERR; in mesh_path_error_tx()
271 *pos++ = ie_len; in mesh_path_error_tx()
273 *pos++ = ttl; in mesh_path_error_tx()
275 *pos++ = 1; in mesh_path_error_tx()
279 *pos = 0; in mesh_path_error_tx()
280 pos++; in mesh_path_error_tx()
281 memcpy(pos, target, ETH_ALEN); in mesh_path_error_tx()
282 pos += ETH_ALEN; in mesh_path_error_tx()
283 put_unaligned_le32(target_sn, pos); in mesh_path_error_tx()
284 pos += 4; in mesh_path_error_tx()
285 put_unaligned_le16(target_rcode, pos); in mesh_path_error_tx()