Searched refs:get_u16 (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtulip.c131 #define get_u16(ptr) (*(u16 *)(ptr)) macro
789 int media = get_u16(p);
812 u16 media = get_u16(p);
852 u32 base15 = (p[2] & 0x40) ? get_u16(p + 7) : 0x0008;
1765 setup[i] = get_u16(&p[i*2 + 1]);
1780 outl(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15);
1838 outl(get_u16(&reset_sequence[i]) << 16, ioaddr + CSR15);
1840 outl(get_u16(&init_sequence[i]) << 16, ioaddr + CSR15);
1854 tp->advertising[phy_num] = get_u16(&misc_info[1]) | 1;
H A Dnatsemi.c85 #define get_u16(ptr) (*(u16 *)(ptr)) macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_filter.c245 get_u16(uchar_t *buffer) function
584 *sp = ntohs(get_u16((uchar_t *)(base + off)));
951 if (ntohs(get_u16(base)) == ETHERTYPE_VLAN)

Completed in 55 milliseconds