hh
struct node_host *h = NULL, *hh;
hh = malloc(sizeof(*hh));
if (hh == NULL)
bcopy(h, hh, sizeof(*hh));
hh = NULL;
if (hh != NULL)
h = hh;
free(hh);
struct atw_frame *hh;
hh = mtod(m0, struct atw_frame *);
wh = &hh->atw_ihdr;
memcpy(hh->atw_dst, wh->i_addr3, IEEE80211_ADDR_LEN);
memcpy(hh->atw_dst, wh->i_addr1, IEEE80211_ADDR_LEN);
*(u_int16_t*)hh->atw_fc = *(u_int16_t*)wh->i_fc;
memset(&hh->u, 0, sizeof(hh->u));
hh->atw_rate = rate * 5;
hh->atw_service = IEEE80211_PLCP_SERVICE; /* XXX guess */
hh->atw_paylen = htole16(m0->m_pkthdr.len -
hh->atw_fragthr = htole16(ATW_FRAGTHR_FRAGTHR_MASK);
hh->atw_rtylmt = 3;
hh->atw_hdrctl = htole16(ATW_HDRCTL_UNKNOWN1);
hh->atw_hdrctl |= htole16(ATW_HDRCTL_WEP);
hh->atw_keyid = ic->ic_wep_txkey;
hh->atw_head_plcplen = htole16(txs->txs_d0.d_plcp_len);
hh->atw_tail_plcplen = htole16(txs->txs_dn.d_plcp_len);
hh->atw_head_plcplen |= htole16(0x8000);
hh->atw_tail_plcplen |= htole16(0x8000);
hh->atw_head_dur = htole16(txs->txs_d0.d_rts_dur);
hh->atw_tail_dur = htole16(txs->txs_dn.d_rts_dur);
if (IEEE80211_IS_MULTICAST(hh->atw_dst)) {
hh->atw_fragthr = htole16(ATW_FRAGTHR_FRAGTHR_MASK);
hh->atw_hdrctl |= htole16(ATW_HDRCTL_RTSCTS);
hh->atw_fragnum = 0;
sc->sc_dev.dv_xname, ether_sprintf(hh->atw_dst),
hh->atw_rate, hh->atw_service, hh->atw_paylen);
sc->sc_dev.dv_xname, hh->atw_fc[0], hh->atw_fc[1],
hh->atw_tail_plcplen, hh->atw_head_plcplen,
hh->atw_tail_dur, hh->atw_head_dur);
sc->sc_dev.dv_xname, hh->atw_hdrctl,
hh->atw_fragthr, hh->atw_fragnum, hh->atw_rtylmt);
sc->sc_dev.dv_xname, hh->atw_keyid);
u8 *hh;
hh = (void *) &hdr->header;
csum -= (hh[0] + hh[1] + hh[2] + hh[3]);
hh = (void *) &header;
csum += hh[0] + hh[1] + hh[2] + hh[3];
int ss, mm, hh, wday, month, year;
hh = tt % 24;
(int)tt, hh, mm, ss, year);
int meg, remaining, hh;
hh = remaining / 3600;
" ETA: %02d:%02d:%02d\n", hh, remaining / 60,
h->next = hh;
hh = h;
*hn = hh;
struct ntp_addr *h, *hh = NULL;
zic_t hh;
if (sscanf(string, scheck(string, "%"SCNdZIC), &hh) == 1)
else if (sscanf(string, scheck(string, "%"SCNdZIC":%d"), &hh, &mm) == 2)
&hh, &mm, &ss) != 3) {
if (hh < 0 ||
if (ZIC_MAX / SECSPERHOUR < hh) {
return oadd(sign * hh * SECSPERHOUR, sign * (mm * SECSPERMIN + ss));