HomeSort by: relevance | last modified time | path
    Searched refs:wh (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sys/dev/isa/
weasel_isa.c 76 weasel_isa_init(struct weasel_handle *wh)
87 bus_space_write_1(wh->wh_st, wh->wh_sh, WEASEL_MISC_COMMAND, OS_NOP);
90 sum = bus_space_read_1(wh->wh_st, wh->wh_sh,
108 bus_space_write_1(wh->wh_st, wh->wh_sh, WEASEL_MISC_COMMAND,
117 bus_space_read_region_1(wh->wh_st, wh->wh_sh,
135 "0x%02x != 0x%02x\n", device_xname(wh->wh_parent)
222 struct weasel_handle *wh = smw->smw_cookie; local
244 struct weasel_handle *wh = smw->smw_cookie; local
    [all...]
  /src/sys/net80211/
ieee80211_crypto_ccmp.c 204 struct ieee80211_frame *wh; local
212 wh = mtod(m, struct ieee80211_frame *);
220 ether_sprintf(wh->i_addr2));
229 ieee80211_notify_replay_failure(ctx->cc_ic, wh, k, pn);
284 ccmp_init_blocks(struct aesenc *ctx, struct ieee80211_frame *wh,
292 #define IS_4ADDRESS(wh) \
293 ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
294 #define IS_QOS_DATA(wh) ieee80211_has_qos(wh)
297 IEEE80211_ADDR_COPY(nonce + 1, wh->i_addr2)
360 struct ieee80211_frame *wh; local
384 struct ieee80211_frame *wh; local
    [all...]
ieee80211_input.c 162 struct ieee80211_frame *wh; local
168 wh = mtod(m, struct ieee80211_frame *);
169 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK;
170 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
172 hdrspace = ieee80211_hdrspace(ic, wh);
179 wh = mtod(m, struct ieee80211_frame *);
185 wh, "data", "unknown dir 0x%x", dir);
190 IEEE80211_IS_MULTICAST(wh->i_addr1) &&
191 IEEE80211_ADDR_EQ(wh->i_addr3, ic->ic_myaddr)) {
199 wh, NULL, "%s", "multicast echo")
391 struct ieee80211_frame *wh; local
482 struct ieee80211_frame *wh; local
516 struct ieee80211_frame *wh; local
763 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
941 struct ieee80211_qosframe_addr4 wh; \/* Max size address frames *\/ local
2068 struct ieee80211_frame *wh; local
2347 struct ieee80211_frame *wh; local
2456 struct ieee80211_frame *wh; local
2535 struct ieee80211_frame *wh; local
2778 struct ieee80211_frame *wh; local
2919 struct ieee80211_frame *wh; local
2974 struct ieee80211_frame *wh; local
3037 struct ieee80211_frame *wh; local
3157 struct ieee80211_frame_min *wh; local
    [all...]
ieee80211_crypto_none.c 104 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
113 ether_sprintf(wh->i_addr1), keyid>>6);
123 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
124 const u_int8_t *ivp = (const u_int8_t *)&wh[1];
134 ether_sprintf(wh->i_addr2), ivp[IEEE80211_WEP_IVLEN] >> 6);
ieee80211_output.c 107 struct ieee80211_frame *wh,
113 #define WH4(wh) ((struct ieee80211_frame_addr4 *)wh)
115 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | type;
120 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS;
121 IEEE80211_ADDR_COPY(wh->i_addr1, bssid);
122 IEEE80211_ADDR_COPY(wh->i_addr2, sa);
123 IEEE80211_ADDR_COPY(wh->i_addr3, da);
128 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
129 IEEE80211_ADDR_COPY(wh->i_addr1, da)
171 struct ieee80211_frame *wh; local
243 struct ieee80211_frame *wh; local
535 struct ieee80211_frame *wh; local
916 struct ieee80211_frame *wh, *whf; local
1332 struct ieee80211_frame *wh; local
1834 struct ieee80211_frame *wh; local
    [all...]
ieee80211.h 184 #define IEEE80211_IS_DSTODS(wh) \
185 (((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
220 #define IEEE80211_QOS_HAS_SEQ(wh) \
221 (((wh)->i_fc[0] & \
386 ieee80211_has_seq(const struct ieee80211_frame *wh)
388 return (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) !=
393 ieee80211_has_addr4(const struct ieee80211_frame *wh)
395 return (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) ==
400 ieee80211_has_qos(const struct ieee80211_frame *wh)
402 return (wh->i_fc[0]
    [all...]
ieee80211_proto.h 108 const struct ieee80211_frame *wh = data; local
112 IASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL,
114 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
116 if (ieee80211_has_qos(wh))
127 const struct ieee80211_frame *wh = data; local
129 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) {
130 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) {
ieee80211_crypto_tkip.c 171 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
176 ether_sprintf(wh->i_addr2), __func__);
215 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); local
222 hdrlen = ieee80211_hdrspace(ic, wh);
249 struct ieee80211_frame *wh; local
256 wh = mtod(m, struct ieee80211_frame *);
264 ether_sprintf(wh->i_addr2));
274 ether_sprintf(wh->i_addr2), __func__);
284 ieee80211_notify_replay_failure(ctx->tc_ic, wh, k, ctx->rx_rsc);
325 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *) local
759 const struct ieee80211_frame_addr4 *wh = local
878 struct ieee80211_frame *wh; local
912 struct ieee80211_frame *wh; local
    [all...]
ieee80211_proto.c 287 const struct ieee80211_frame *wh; local
290 wh = (const struct ieee80211_frame *)buf;
291 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) {
293 printf("NODS %s", ether_sprintf(wh->i_addr2));
294 printf("->%s", ether_sprintf(wh->i_addr1));
295 printf("(%s)", ether_sprintf(wh->i_addr3));
298 printf("TODS %s", ether_sprintf(wh->i_addr2));
299 printf("->%s", ether_sprintf(wh->i_addr3));
300 printf("(%s)", ether_sprintf(wh->i_addr1));
303 printf("FRDS %s", ether_sprintf(wh->i_addr3))
    [all...]
ieee80211_crypto.c 543 struct ieee80211_frame *wh; local
554 wh = mtod(m, struct ieee80211_frame *);
555 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
560 ether_sprintf(wh->i_addr1), __func__,
607 struct ieee80211_frame *wh; local
631 wh = mtod(m, struct ieee80211_frame *);
633 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
ieee80211_netbsd.c 659 const struct ieee80211_frame *wh, const struct ieee80211_key *k,
666 ether_sprintf(wh->i_addr2), k->wk_cipher->ic_name,
673 IEEE80211_ADDR_COPY(iev.iev_dst, wh->i_addr1);
674 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2);
688 const struct ieee80211_frame *wh, u_int keyix)
694 ether_sprintf(wh->i_addr2), keyix);
700 IEEE80211_ADDR_COPY(iev.iev_dst, wh->i_addr1);
701 IEEE80211_ADDR_COPY(iev.iev_src, wh->i_addr2);
ieee80211_node.h 245 #define ieee80211_find_rxnode(nt, wh) \
246 ieee80211_find_rxnode_debug(nt, wh, __func__, __LINE__)
247 #define ieee80211_find_rxnode_withkey(nt, wh, keyix) \
248 ieee80211_find_rxnode_withkey_debug(nt, wh, keyix, __func__, __LINE__)
ieee80211_node.c 1284 const struct ieee80211_scanparams *sp, const struct ieee80211_frame *wh,
1292 ni = ieee80211_find_node(nt, wh->i_addr2);
1302 ieee80211_setup_node(nt, ni, wh->i_addr2);
1317 dump_probe_beacon(subtype, newnode, wh->i_addr2, sp);
1328 IEEE80211_ADDR_COPY(ni->ni_bssid, wh->i_addr3);
1373 const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp,
1378 IEEE80211_ADDR_COPY(ni->ni_bssid, wh->i_addr3);
1408 const struct ieee80211_frame *wh,
1413 ni = ieee80211_dup_bss(&ic->ic_sta, wh->i_addr2);/* XXX alloc_node? */
1415 ieee80211_init_neighbor(ic, ni, wh, sp, 1)
    [all...]
ieee80211_rssadapt.c 193 struct ieee80211_rateset *rs, struct ieee80211_frame *wh, u_int len,
199 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL)
236 dvname, ether_sprintf(wh->i_addr1), len,
  /src/sys/arch/zaurus/stand/zboot/
unixdev.c 190 ulseek(int fd, off_t off, int wh)
197 if (wh == SEEK_SET) {
210 r = ulseek32(fd, (long)off, wh);
  /src/lib/librumpuser/
rumpfiber.c 596 wait(struct waithead *wh, uint64_t msec)
601 TAILQ_INSERT_TAIL(wh, &w, entries);
610 TAILQ_REMOVE(wh, &w, entries);
616 wakeup_one(struct waithead *wh)
620 if ((w = TAILQ_FIRST(wh)) != NULL) {
621 TAILQ_REMOVE(wh, w, entries);
628 wakeup_all(struct waithead *wh)
632 while ((w = TAILQ_FIRST(wh)) != NULL) {
633 TAILQ_REMOVE(wh, w, entries);
  /src/sys/dev/ic/
awi.c 628 struct ieee80211_frame *wh; local
691 wh = mtod(m0, struct ieee80211_frame *);
692 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
697 (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
1035 struct ieee80211_frame_min *wh; local
1080 m = m_pullup(m, sizeof(*wh));
1085 wh = mtod(m, struct ieee80211_frame_min *);
1086 ni = ieee80211_find_rxnode(ic, wh);
1976 struct ieee80211_frame *wh; local
1987 wh = mtod(m, struct ieee80211_frame *)
2016 struct ieee80211_frame wh; local
2032 memcpy(mtod(m, void *), &wh, sizeof(wh)); local
    [all...]
arn9003.c 941 struct ieee80211_frame *wh; local
982 wh = mtod(m, struct ieee80211_frame *);
984 ieee80211_notify_michael_failure(ic, wh,
1041 wh = mtod(m, struct ieee80211_frame *);
1042 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
1045 if (!(wh->i_fc[0] & IEEE80211_FC0_TYPE_CTL)) {
1046 u_int hdrlen = ieee80211_anyhdrsize(wh);
1048 memmove((uint8_t *)wh + 2, wh, hdrlen);
1216 struct ieee80211_frame *wh; local
1462 struct ieee80211_frame *wh; local
2724 struct ieee80211_frame *wh; local
    [all...]
wi.c 1060 struct ieee80211_frame *wh, u_int len)
1072 rateidx = ieee80211_rssadapt_choose(ra, &ni->ni_rates, wh, len,
1137 struct ieee80211_frame *wh; local
1163 wh = mtod(m0, struct ieee80211_frame *);
1192 wh = mtod(m0, struct ieee80211_frame *);
1202 (wh->i_fc[1] & IEEE80211_FC1_WEP)) {
1212 rateidx = wi_choose_rate(ic, ni, wh, m0->m_pkthdr.len);
1633 struct ieee80211_frame *wh, int rssi)
1654 struct ieee80211_frame *wh; local
1726 wh = mtod(m, struct ieee80211_frame *)
    [all...]
arn5008.c 793 struct ieee80211_frame *wh; local
851 wh = mtod(m, struct ieee80211_frame *);
854 ieee80211_notify_michael_failure(ic, wh, 0 /* XXX: keyix */);
911 wh = mtod(m, struct ieee80211_frame *);
912 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
915 if (!(wh->i_fc[0] & IEEE80211_FC0_TYPE_CTL)) {
916 u_int hdrlen = ieee80211_anyhdrsize(wh);
918 memmove((uint8_t *)wh + 2, wh, hdrlen);
1071 struct ieee80211_frame *wh; local
1310 struct ieee80211_frame *wh; local
    [all...]
  /src/sys/arch/luna68k/dev/
omrasops.c 654 int wh; local
682 wh = (width >> 6);
683 if (wh > 0) {
684 int step8 = step - wh * 8;
687 wh--; /* for dbra */
691 " move.w %[wh],%[w] ;\n"
706 [wh] "r" (wh),
712 wh--; /* to match to asm side */
716 for (w = wh; w >= 0; w--)
831 int wh; local
    [all...]
  /src/usr.bin/rdist/
expand.c 83 * wh = E_VARS if expanding variables.
84 * wh = E_SHELL if expanding shell characters.
85 * wh = E_TILDE if expanding `~'.
91 expand(struct namelist *list, int wh)
99 printf("expand(%lx, %d)\nlist = ", (long)list, wh);
103 if (wh == 0) {
112 which = wh;
  /src/sys/dev/pci/
if_wpi.c 1487 struct ieee80211_frame *wh; local
1617 wh = mtod(m, struct ieee80211_frame *);
1618 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
1907 struct ieee80211_frame *wh; local
1916 wh = mtod(m0, struct ieee80211_frame *);
1918 if (ieee80211_has_qos(wh)) {
1923 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
1931 wh = mtod(m0, struct ieee80211_frame *);
1934 hdrlen = ieee80211_anyhdrsize(wh);
1937 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) =
2818 struct ieee80211_frame *wh; local
    [all...]
if_ipw.c 973 struct ieee80211_frame *wh; local
977 wh = mtod(m, struct ieee80211_frame *);
979 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_MGT)
982 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
988 frm = (uint8_t *)(wh + 1);
1011 struct ieee80211_frame *wh; local
1092 wh = mtod(m, struct ieee80211_frame *);
1093 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
1351 struct ieee80211_frame *wh; local
1359 wh = mtod(m0, struct ieee80211_frame *)
    [all...]
  /src/sys/dev/usb/
if_ural.c 902 struct ieee80211_frame *wh; local
976 wh = mtod(m, struct ieee80211_frame *);
977 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
1180 struct ieee80211_frame *wh; local
1192 wh = mtod(m0, struct ieee80211_frame *);
1194 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
1205 wh = mtod(m0, struct ieee80211_frame *);
1207 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
1211 *(uint16_t *)wh->i_dur = htole16(dur);
1214 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) =
1269 struct ieee80211_frame *wh; local
    [all...]

Completed in 47 milliseconds

1 2 3