ppkt 107 dev/ic/if_wi_hostap.c take_hword(caddr_t *ppkt, int *plen) ppkt 109 dev/ic/if_wi_hostap.c u_int16_t s = letoh16(* (u_int16_t *) *ppkt); ppkt 110 dev/ic/if_wi_hostap.c *ppkt += sizeof(u_int16_t); ppkt 121 dev/ic/if_wi_hostap.c take_tlv(caddr_t *ppkt, int *plen, int id_expect, void *dst, int maxlen) ppkt 128 dev/ic/if_wi_hostap.c id = ((u_int8_t *)*ppkt)[0]; ppkt 129 dev/ic/if_wi_hostap.c len = ((u_int8_t *)*ppkt)[1]; ppkt 134 dev/ic/if_wi_hostap.c bcopy(*ppkt + 2, dst, len); ppkt 136 dev/ic/if_wi_hostap.c *ppkt += 2 + len; ppkt 145 dev/ic/if_wi_hostap.c put_hword(caddr_t *ppkt, u_int16_t s) ppkt 147 dev/ic/if_wi_hostap.c * (u_int16_t *) *ppkt = htole16(s); ppkt 148 dev/ic/if_wi_hostap.c *ppkt += sizeof(u_int16_t); ppkt 155 dev/ic/if_wi_hostap.c put_tlv(caddr_t *ppkt, u_int8_t id, void *src, u_int8_t len) ppkt 157 dev/ic/if_wi_hostap.c (*ppkt)[0] = id; ppkt 158 dev/ic/if_wi_hostap.c (*ppkt)[1] = len; ppkt 159 dev/ic/if_wi_hostap.c bcopy(src, (*ppkt) + 2, len); ppkt 160 dev/ic/if_wi_hostap.c *ppkt += 2 + len; ppkt 164 dev/ic/if_wi_hostap.c put_rates(caddr_t *ppkt, u_int16_t rates) ppkt 178 dev/ic/if_wi_hostap.c put_tlv(ppkt, IEEE80211_ELEMID_RATES, ratebuf, len);