u_short
u_short manf;
u_short card;
u_short flags;
u_short dindex;
u_short addr;
u_short len;
typedef u_short ioaddr_t;
typedef u_short socket_t;
typedef u_short page_t;
u_short major, minor;
u_short io_base_1, io_base_2;
u_short major, minor;
u_short LogicalEUN;
u_short FirstPhysicalEUN;
u_short NumEraseUnits;
u_short NumVMPages;
#define readw(p) (*(volatile u_short *)(p))
#define writew(w, p) (*(volatile u_short *)(p) = (w))
*(u_short *)to = readw_ns(from);
writew_ns(*(u_short *)from, to);
u_short speed;
u_short start, stop;
u_short speed;
u_short en_fcs; /* floating code segment selector */
u_short en_opcode; /* opcode last executed (11 bits ) */
fxp_read_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words)
fxp_write_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words)
static void fxp_read_eeprom(struct fxp_softc *sc, u_short *data,
static void fxp_write_eeprom(struct fxp_softc *sc, u_short *data,
u_short int_delay_offset;
u_short bundle_max_offset;
uint16_t *a = (u_short *)one;
uint16_t *b = (u_short *)two;
static u_short in_addword(u_short a, u_short b);
static u_short
in_addword(u_short a, u_short b)
u_short fc1;
u_short de_CTime; /* creation time */
u_short de_CDate; /* creation date */
u_short de_ADate; /* access date */
u_short de_MTime; /* modification time */
u_short de_MDate; /* modification date */
u_short defid_len; /* length of structure */
u_short defid_pad; /* force long alignment */
u_short v_vflag; /* v vnode flags */
u_short fMtimeAtOpen; // inital modification time
u_short fMdateAtOpen; // initial modification date
u_short si_port;
static u_short naflags;
u_short
u_short us;
u_short answer;
u_short data;
u_short in_cksum(u_char *, int);
register const u_short *sp;
sp = (u_short *)outip;
nshorts = (u_int)packlen / sizeof(u_short);
icmpheader->icmp_cksum = in_cksum((u_short *)icmpheader, protlen);
outudp->uh_ulen = htons((u_short)protlen);
u_short sum = p_cksum(outip, (u_short *)outudp, protlen, protlen);
u_short sum = p_cksum(outip, (u_short *)outudp, protlen, 8);
tcp->th_sum = p_cksum(outip, (u_short *)tcp, protlen, protlen);
u_short
p_cksum(struct ip *ip, u_short *data, int len, int cov)
u_short sum[2];
sum[1] = in_cksum((u_short *)&ipo, sizeof(ipo)); /* pseudo ip hdr cksum */
u_short
in_cksum(register u_short *addr, register int len)
register u_short *w = addr;
register u_short answer;
u_short ident;
u_short port; /* protocol specific base "port" */
u_short in_cksum(u_short *, int);
u_short p_cksum(struct ip *, u_short *, int, int);
u_short hdrlen; /* max size of protocol header */
u_short port; /* default base protocol-specific "port" */
2 * sizeof(u_short),
register u_short off = 0;
requestPort = (u_short)str2val(optarg, "port",
u_short ta_priority; /* (c) Priority */
static inline u_short
static inline u_short
static __inline u_short
u_short data;
outw(u_int port, u_short data)
static __inline u_short
u_short sel;
static __inline u_short
u_short sel;
static __inline u_short
u_short ldtr;
static __inline u_short
u_short sel;
static __inline u_short
u_short tr;
load_fs(u_short sel)
load_gs(u_short sel)
lldt(u_short sel)
ltr(u_short sel)
u_short inw(u_int port);
void lldt(u_short sel);
void load_fs(u_short sel);
void load_gs(u_short sel);
void ltr(u_short sel);
void outw(u_int port, u_short data);
u_short rldt(void);
u_short rtr(void);
static __inline u_short
u_short data;
outw(u_int port, u_short data)
static __inline u_short
u_short sel;
static __inline u_short
u_short sel;
static __inline u_short
u_short sel;
load_ds(u_short sel)
load_es(u_short sel)
load_fs(u_short sel)
load_gs(u_short sel)
load_fs(u_short sel)
load_gs(u_short sel)
lldt(u_short sel)
ltr(u_short sel)
u_short sel;
u_short inw(u_int port);
void lldt(u_short sel);
void load_fs(u_short sel);
void load_gs(u_short sel);
void ltr(u_short sel);
void outw(u_int port, u_short data);
u_short ether_type;
u_short if_index; /* numeric abbreviation for this if */
u_short ifa_flags; /* mostly rt_flags for cloning */
u_short vlr_tag;
ifnet_setbyindex_locked(u_short idx, struct ifnet *ifp)
ifnet_setbyindex(u_short idx, struct ifnet *ifp)
ifindex_alloc_locked(u_short *idxp)
u_short index;
ifindex_free_locked(u_short idx)
u_short index;
u_short txa_flags;
u_short si_port;
u_short, u_short, u_char *);
u_short port;
u_short si_port;
sp->s_port = htons((u_short)atoi(p));
u_short code, /*%< OPTION-CODE */
u_short len, /*%< OPTION-LENGTH */
len = (u_short)(cp - rdata);
u_short len;
ns_put16((u_short)buflen, (u_char*)(void *)&len);
if ((len -= (u_short)n) == 0)
len -= (u_short)n;
len -= (u_short)n;
p->canary = (u_short)d->canary1;
size = sizeof(struct chunk_info) + size * sizeof(u_short);
size += count * sizeof(u_short);
static inline u_short
find_bucket(u_short size)
u_short *lp;
if (bp->canary != (u_short)d->canary1 || bucket != bp->bucket)
if (info->canary != (u_short)d->canary1)
#define MALLOC_BITS (NBBY * sizeof(u_short))
u_short canary;
u_short bucket;
u_short free; /* how many free chunks */
u_short total; /* how many chunks */
u_short offset; /* requested size table offset */
u_short bits[CHUNK_INFO_TAIL]; /* which chunks are free */
u_short i;
u_short base = getrbyte(d);
u_short j;
u_short i;