Symbol: u_short
bin/pax/cpio.c
808
if (((u_short)SHRT_EXT(blk)) == MAGIC)
bin/pax/cpio.c
810
if (((u_short)RSHRT_EXT(blk)) == MAGIC) {
games/bcd/bcd.c
72
u_short holes[256] = {
games/gomoku/gomoku.h
157
u_short s;
games/gomoku/gomoku.h
178
u_short c_vertex; /* C:intersection or F:frame head */
games/hunt/huntd/driver.c
425
if (test_port.sin_port != htons((u_short) Server_port)) {
games/hunt/huntd/driver.c
433
test_port.sin_port = htons((u_short) Server_port);
games/hunt/huntd/driver.c
56
u_short sock_port; /* port # of tcp listen socket */
games/hunt/huntd/driver.c
57
u_short stat_port; /* port # of statistics tcp socket */
lib/libc/gen/disklabel.c
85
dp->d_type = (u_short)gettype(cq, dktypenames);
lib/libc/gen/fts.c
54
static u_short fts_stat(FTS *, FTSENT *, int, int);
lib/libc/gen/fts.c
793
static u_short
lib/libc/gen/glob.c
100
typedef u_short Char;
lib/libc/gmon/gmon.c
236
u_short *frompcindex, qtoindex, toindex;
lib/libc/gmon/gmon.c
260
*frompcindex = (u_short)toindex;
lib/libc/gmon/gmon.c
297
*frompcindex = (u_short)toindex;
lib/libc/gmon/mcount.c
54
u_short *frompcindex;
lib/libc/net/getifaddrs.c
65
u_short index = 0;
lib/libc/rpc/clnt_tcp.c
137
u_short port;
lib/libc/rpc/clnt_udp.c
220
(*(u_short *)(cu->cu_outbuf))++;
lib/libc/rpc/clnt_udp_bufcreate.c
87
u_short port;
lib/libc/rpc/pmap_clnt.c
61
u_short port = iport;
lib/libc/rpc/pmap_getport.c
54
u_short
lib/libc/rpc/pmap_getport.c
58
u_short port = 0;
lib/libc/rpc/pmap_rmt.c
360
raddr.sin_port = htons((u_short)port);
lib/libc/rpc/xdr.c
276
xdr_u_short(XDR *xdrs, u_short *usp)
lib/libc/rpc/xdr.c
290
*usp = (u_short) l;
lib/libc/stdlib/malloc.c
1012
size = sizeof(struct chunk_info) + size * sizeof(u_short);
lib/libc/stdlib/malloc.c
1014
size += count * sizeof(u_short);
lib/libc/stdlib/malloc.c
1122
static inline u_short
lib/libc/stdlib/malloc.c
1123
find_bucket(u_short size)
lib/libc/stdlib/malloc.c
1152
u_short *lp;
lib/libc/stdlib/malloc.c
1172
if (bp->canary != (u_short)d->canary1 || bucket != bp->bucket)
lib/libc/stdlib/malloc.c
1252
if (info->canary != (u_short)d->canary1)
lib/libc/stdlib/malloc.c
216
#define MALLOC_BITS (NBBY * sizeof(u_short))
lib/libc/stdlib/malloc.c
221
u_short canary;
lib/libc/stdlib/malloc.c
222
u_short bucket;
lib/libc/stdlib/malloc.c
223
u_short free; /* how many free chunks */
lib/libc/stdlib/malloc.c
224
u_short total; /* how many chunks */
lib/libc/stdlib/malloc.c
225
u_short offset; /* requested size table offset */
lib/libc/stdlib/malloc.c
227
u_short bits[CHUNK_INFO_TAIL]; /* which chunks are free */
lib/libc/stdlib/malloc.c
800
u_short i;
lib/libc/stdlib/malloc.c
808
u_short base = getrbyte(d);
lib/libc/stdlib/malloc.c
809
u_short j;
lib/libc/stdlib/malloc.c
887
u_short i;
lib/libc/stdlib/malloc.c
986
p->canary = (u_short)d->canary1;
lib/libpcap/llc.h
39
u_short is_ctl;
lib/libpcap/nametoaddr.c
188
u_short p;
lib/libpcap/nametoaddr.c
387
u_short
lib/libpcap/optimize.c
1921
dst->code = (u_short)src->s.code;
lib/libpcap/optimize.c
1987
dst->code = (u_short)p->s.code;
lib/libpcap/pcap-namedb.h
79
u_short __pcap_nametodnaddr(const char *);
lib/libpcap/pcap.h
73
u_short version_major;
lib/libpcap/pcap.h
74
u_short version_minor;
lib/libpcap/savefile.c
63
( (((y)&0xff)<<8) | ((u_short)((y)&0xff00)>>8) )
libexec/ld.so/i386/rtld_machine.c
296
u_short opcode;
libexec/ld.so/i386/rtld_machine.c
297
u_short addr[2];
libexec/ld.so/i386/rtld_machine.c
298
u_short reloc_index;
libexec/ld.so/malloc.c
113
#define MALLOC_BITS (NBBY * sizeof(u_short))
libexec/ld.so/malloc.c
117
u_short canary;
libexec/ld.so/malloc.c
118
u_short size; /* size of this page's chunks */
libexec/ld.so/malloc.c
119
u_short shift; /* how far to shift for this size */
libexec/ld.so/malloc.c
120
u_short free; /* how many free chunks */
libexec/ld.so/malloc.c
121
u_short total; /* how many chunk */
libexec/ld.so/malloc.c
122
u_short offset; /* requested size table offset */
libexec/ld.so/malloc.c
124
u_short bits[1];
libexec/ld.so/malloc.c
514
p->canary = (u_short)d->canary1;
libexec/ld.so/malloc.c
537
size = sizeof(struct chunk_info) + (size - 1) * sizeof(u_short);
libexec/ld.so/malloc.c
539
size += count * sizeof(u_short);
libexec/ld.so/malloc.c
630
u_short *lp;
libexec/ld.so/malloc.c
649
if (bp->canary != (u_short)d->canary1)
libexec/ld.so/malloc.c
723
if (info->canary != (u_short)d->canary1)
libexec/login_radius/raddauth.c
131
u_short length;
libexec/snmpd/snmpd_metrics/kroute.c
105
struct kif_arp *karp_find(struct sockaddr *, u_short);
libexec/snmpd/snmpd_metrics/kroute.c
109
struct kif_node *kif_find(u_short);
libexec/snmpd/snmpd_metrics/kroute.c
1094
if_change(u_short if_index, int flags, struct if_data *ifd,
libexec/snmpd/snmpd_metrics/kroute.c
110
struct kif_node *kif_insert(u_short);
libexec/snmpd/snmpd_metrics/kroute.c
1102
if_newaddr(u_short if_index, struct sockaddr *ifa, struct sockaddr *mask,
libexec/snmpd/snmpd_metrics/kroute.c
113
struct kif *kif_update(u_short, int, struct if_data *,
libexec/snmpd/snmpd_metrics/kroute.c
1134
if_deladdr(u_short if_index, struct sockaddr *ifa, struct sockaddr *mask,
libexec/snmpd/snmpd_metrics/kroute.c
117
void ka_insert(u_short, struct kif_addr *);
libexec/snmpd/snmpd_metrics/kroute.c
1219
fetchifs(u_short if_index)
libexec/snmpd/snmpd_metrics/kroute.c
127
void if_change(u_short, int, struct if_data *, struct sockaddr_dl *);
libexec/snmpd/snmpd_metrics/kroute.c
128
void if_newaddr(u_short, struct sockaddr *, struct sockaddr *,
libexec/snmpd/snmpd_metrics/kroute.c
130
void if_deladdr(u_short, struct sockaddr *, struct sockaddr *,
libexec/snmpd/snmpd_metrics/kroute.c
135
int fetchifs(u_short);
libexec/snmpd/snmpd_metrics/kroute.c
56
u_short ks_nkif;
libexec/snmpd/snmpd_metrics/kroute.c
704
karp_find(struct sockaddr *sa, u_short ifindex)
libexec/snmpd/snmpd_metrics/kroute.c
767
karp_first(u_short ifindex)
libexec/snmpd/snmpd_metrics/kroute.c
777
karp_getaddr(struct sockaddr *sa, u_short ifindex, int next)
libexec/snmpd/snmpd_metrics/kroute.c
787
kif_find(u_short if_index)
libexec/snmpd/snmpd_metrics/kroute.c
801
kr_getif(u_short if_index)
libexec/snmpd/snmpd_metrics/kroute.c
813
kr_getnextif(u_short if_index)
libexec/snmpd/snmpd_metrics/kroute.c
828
kif_insert(u_short if_index)
libexec/snmpd/snmpd_metrics/kroute.c
886
kif_update(u_short if_index, int flags, struct if_data *ifd,
libexec/snmpd/snmpd_metrics/kroute.c
925
ka_insert(u_short if_index, struct kif_addr *ka)
libexec/snmpd/snmpd_metrics/snmpd.h
119
u_short if_index;
libexec/snmpd/snmpd_metrics/snmpd.h
129
u_short if_index;
libexec/snmpd/snmpd_metrics/snmpd.h
135
u_short if_index;
libexec/snmpd/snmpd_metrics/snmpd.h
145
u_short flags;
libexec/snmpd/snmpd_metrics/snmpd.h
146
u_short if_index;
libexec/snmpd/snmpd_metrics/snmpd.h
160
u_short if_index;
libexec/snmpd/snmpd_metrics/snmpd.h
239
struct kif *kr_getif(u_short);
libexec/snmpd/snmpd_metrics/snmpd.h
240
struct kif *kr_getnextif(u_short);
libexec/snmpd/snmpd_metrics/snmpd.h
247
struct kif_arp *karp_first(u_short);
libexec/snmpd/snmpd_metrics/snmpd.h
248
struct kif_arp *karp_getaddr(struct sockaddr *, u_short, int);
libexec/spamd-setup/spamd-setup.c
609
configure_spamd(u_short dport, char *name, char *message,
libexec/spamd-setup/spamd-setup.c
83
int configure_spamd(u_short, char *, char *, struct cidr *, u_int);
libexec/spamd/grey.c
46
extern u_short cfg_port;
libexec/spamd/spamd.c
1236
u_short port;
libexec/spamd/spamd.c
134
u_short cfg_port;
libexec/spamd/spamd.c
135
u_short sync_port;
libexec/spamd/sync.c
117
sync_init(const char *iface, const char *baddr, u_short port)
libexec/spamd/sync.c
69
sync_addhost(const char *name, u_short port)
libexec/spamd/sync.h
84
extern int sync_init(const char *, const char *, u_short);
libexec/spamd/sync.h
85
extern int sync_addhost(const char *, u_short);
libexec/spamlogd/spamlogd.c
70
u_short sync_port;
regress/sys/kern/sysvsem/semtest.c
72
u_short *array; /* array for GETALL & SETALL */
sbin/disklabel/dkcksum.c
38
u_short
sbin/disklabel/dkcksum.c
41
u_short *start, *end;
sbin/disklabel/dkcksum.c
42
u_short sum = 0;
sbin/disklabel/dkcksum.c
44
start = (u_short *)lp;
sbin/disklabel/dkcksum.c
45
end = (u_short *)&lp->d_partitions[lp->d_npartitions];
sbin/disklabel/extern.h
26
u_short dkcksum(const struct disklabel *);
sbin/growfs/growfs.c
1959
u_short sum;
sbin/growfs/growfs.c
1960
u_short *ptr;
sbin/growfs/growfs.c
1968
ptr = (u_short *)lp;
sbin/growfs/growfs.c
1973
while (ptr < (u_short *)&lp->d_partitions[lp->d_npartitions])
sbin/iked/parse.y
1282
u_short port;
sbin/iked/parse.y
1362
u_short port;
sbin/iked/parse.y
401
create_radserver(const char *, u_short, const char *);
sbin/mount_nfs/mount_nfs.c
150
u_short port_no = 0;
sbin/mount_nfs/mount_nfs.c
392
u_short tport;
sbin/mountd/mountd.c
760
u_short sport;
sbin/newfs/newfs.c
95
u_short dkcksum(struct disklabel *);
sbin/ping/ping.c
1167
icp->icmp_cksum = in_cksum((u_short *)icp, cc);
sbin/ping/ping.c
1175
ip->ip_sum = in_cksum((u_short *)outpackhdr, cc);
sbin/ping/ping.c
1543
in_cksum(u_short *addr, int len)
sbin/ping/ping.c
1546
u_short *w = addr;
sbin/ping/ping.c
1548
u_short answer = 0;
sbin/ping/ping.c
222
int in_cksum(u_short *, int);
sbin/restore/dirs.c
113
u_short d_ino;
sbin/route/show.c
407
sa6->sin6_scope_id = (u_int32_t)ntohs(*(u_short *)
sbin/route/show.c
409
*(u_short *)&in6->s6_addr[2] = 0;
sbin/savecore/zopen.c
108
u_short zs_codetab[HSIZE];
sbin/slaacd/frontend.c
881
(u_int32_t)ntohs(*(u_short *) &in6->s6_addr[2]);
sbin/slaacd/frontend.c
882
*(u_short *)&in6->s6_addr[2] = 0;
sys/arch/amd64/amd64/amd64errata.c
65
u_short e_num;
sys/arch/amd64/amd64/amd64errata.c
66
u_short e_reported;
sys/arch/amd64/amd64/nvram.c
138
u_short csum = 0;
sys/arch/amd64/amd64/nvram.c
139
u_short csumexpect;
sys/arch/amd64/include/cpufunc.h
77
sldt(u_short *sel)
sys/arch/amd64/include/cpufunc.h
83
lldt(u_short sel)
sys/arch/amd64/include/cpufunc.h
89
ltr(u_short sel)
sys/arch/amd64/stand/libsa/time.c
51
const u_short monthcount[] = {
sys/arch/arm/arm/pmap7.c
2002
u_short l1idx;
sys/arch/arm/arm/pmap7.c
2186
u_short l1idx;
sys/arch/arm/arm/pmap7.c
339
u_short l2b_l1idx; /* This L2 table's L1 index */
sys/arch/arm/arm/pmap7.c
340
u_short l2b_occupancy; /* How many active descriptors */
sys/arch/arm/arm/pmap7.c
473
u_short l1idx;
sys/arch/arm/arm/pmap7.c
737
u_short l1idx;
sys/arch/arm/arm/pmap7.c
807
u_short l1idx;
sys/arch/hppa/hppa/in_cksum.c
67
#define ADDSHORT {sum += *(u_short *)w; w += 2; mlen -= 2;}
sys/arch/hppa/include/disklabel.h
67
u_short dir_type;
sys/arch/hppa/include/pdc.h
680
u_short ss_os_version; /* 0 == none, 1 == HP-UX, 2 == MPE-XL */
sys/arch/hppa/include/pdc.h
723
u_short pz_class; /* (see below) */
sys/arch/hppa/include/pdc.h
758
u_short iodc_cksum; /* 16-bit checksum of whole IODC */
sys/arch/hppa/include/pdc.h
759
u_short iodc_length; /* number of entry points in IODC */
sys/arch/hppa/include/som.h
51
u_short system_id;
sys/arch/hppa/include/som.h
52
u_short a_magic;
sys/arch/i386/i386/amd64errata.c
66
u_short e_num;
sys/arch/i386/i386/amd64errata.c
67
u_short e_reported;
sys/arch/i386/i386/nvram.c
138
u_short csum = 0;
sys/arch/i386/i386/nvram.c
139
u_short csumexpect;
sys/arch/i386/i386/p4tcc.c
48
u_short level;
sys/arch/i386/i386/p4tcc.c
49
u_short reg;
sys/arch/i386/include/cpufunc.h
49
static __inline void lldt(u_short);
sys/arch/i386/include/cpufunc.h
50
static __inline void ltr(u_short);
sys/arch/i386/include/cpufunc.h
81
lldt(u_short sel)
sys/arch/i386/include/cpufunc.h
87
ltr(u_short sel)
sys/arch/i386/include/npx.h
52
u_short en_fcs; /* floating code segment selector */
sys/arch/i386/include/npx.h
53
u_short en_opcode; /* opcode last executed (11 bits ) */
sys/arch/i386/stand/libsa/debug.c
46
#define CKPT(c) (*(u_short volatile *)(VBASE+160) = (0x1700 | (c)))
sys/arch/i386/stand/libsa/time.c
51
const u_short monthcount[] = {
sys/arch/luna88k/cbus/nec86hw.c
1064
sc->conv_last0 = (u_short) d0;
sys/arch/luna88k/cbus/nec86hw.c
1065
sc->conv_last1 = (u_short) d1;
sys/arch/luna88k/cbus/nec86hw.c
1078
register u_short d, d0, d1;
sys/arch/luna88k/cbus/nec86hw.c
1183
register u_short d, d_l, d_r;
sys/arch/luna88k/cbus/nec86hwvar.h
60
u_short sc_open; /* reference count of open calls */
sys/arch/luna88k/cbus/nec86hwvar.h
83
u_short conv_last0;
sys/arch/luna88k/cbus/nec86hwvar.h
84
u_short conv_last0_l;
sys/arch/luna88k/cbus/nec86hwvar.h
85
u_short conv_last0_r;
sys/arch/luna88k/cbus/nec86hwvar.h
86
u_short conv_last1;
sys/arch/luna88k/cbus/nec86hwvar.h
87
u_short conv_last1_l;
sys/arch/luna88k/cbus/nec86hwvar.h
88
u_short conv_last1_r;
sys/arch/luna88k/luna88k/disksubr.c
252
u_short cksum = 0, *sp1, *sp2;
sys/arch/luna88k/luna88k/disksubr.c
255
sp1 = (u_short *)sl;
sys/arch/luna88k/luna88k/disksubr.c
256
sp2 = (u_short *)(sl + 1);
sys/arch/luna88k/luna88k/disksubr.c
381
u_short cksum, *sp1, *sp2;
sys/arch/luna88k/luna88k/disksubr.c
434
sp1 = (u_short *)sl;
sys/arch/luna88k/luna88k/disksubr.c
435
sp2 = (u_short *)(sl + 1);
sys/arch/luna88k/stand/boot/bmd.c
124
void bmd_erase_screen(volatile u_short *);
sys/arch/luna88k/stand/boot/bmd.c
125
void bmd_scroll_screen(volatile u_short *, volatile u_short *,
sys/arch/luna88k/stand/boot/bmd.c
325
bmd_erase_screen((u_short *) bp->bc_waddr); /* clear screen */
sys/arch/luna88k/stand/boot/bmd.c
376
bmd_scroll_screen((u_short *) bp->bc_raddr,
sys/arch/luna88k/stand/boot/bmd.c
377
(u_short *) bp->bc_waddr,
sys/arch/luna88k/stand/boot/bmd.c
403
bmd_scroll_screen((u_short *) bp->bc_raddr,
sys/arch/luna88k/stand/boot/bmd.c
404
(u_short *) bp->bc_waddr,
sys/arch/luna88k/stand/boot/bmd.c
450
bmd_erase_screen((u_short *) bp->bc_waddr); /* clear screen */
sys/arch/luna88k/stand/boot/bmd.c
468
volatile u_short *p, *q;
sys/arch/luna88k/stand/boot/bmd.c
469
const u_short *fp;
sys/arch/luna88k/stand/boot/bmd.c
477
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
478
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
488
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
489
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
500
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 );
sys/arch/luna88k/stand/boot/bmd.c
501
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 );
sys/arch/luna88k/stand/boot/bmd.c
512
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 4 );
sys/arch/luna88k/stand/boot/bmd.c
513
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 4 );
sys/arch/luna88k/stand/boot/bmd.c
530
volatile u_short *p, *q;
sys/arch/luna88k/stand/boot/bmd.c
536
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
537
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
546
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
547
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ));
sys/arch/luna88k/stand/boot/bmd.c
557
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 );
sys/arch/luna88k/stand/boot/bmd.c
558
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 );
sys/arch/luna88k/stand/boot/bmd.c
568
p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 4 );
sys/arch/luna88k/stand/boot/bmd.c
569
q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 4 );
sys/arch/luna88k/stand/boot/bmd.c
596
bmd_erase_screen(volatile u_short *p)
sys/arch/luna88k/stand/boot/bmd.c
610
bmd_scroll_screen(volatile u_short *p, volatile u_short *q,
sys/arch/luna88k/stand/boot/font.c
82
const u_short bmdfont[][20] = {
sys/arch/luna88k/stand/boot/samachdep.h
77
extern const u_short bmdfont[][20];
sys/arch/luna88k/stand/boot/sd.c
96
u_short sc_bshift; /* convert device blocks to DEV_BSIZE blks */
sys/arch/luna88k/stand/boot/ufs_disksubr.c
122
u_short cksum = 0, *sp1, *sp2;
sys/arch/luna88k/stand/boot/ufs_disksubr.c
143
sp1 = (u_short *)slp;
sys/arch/luna88k/stand/boot/ufs_disksubr.c
144
sp2 = (u_short *)(slp + 1);
sys/arch/macppc/dev/if_bm.c
341
u_short *p;
sys/arch/macppc/dev/if_bm.c
400
p = (u_short *)sc->arpcom.ac_enaddr;
sys/arch/octeon/dev/octcf.c
824
p = (u_short *)(params->atap_model + i);
sys/arch/octeon/dev/octcf.c
828
p = (u_short *)(params->atap_serial + i);
sys/arch/octeon/dev/octcf.c
832
p = (u_short *)(params->atap_revision + i);
sys/arch/sh/dev/scif.c
1105
u_short ssr2;
sys/arch/sparc64/dev/pcons.c
91
u_short *cnm_magic;
sys/arch/sparc64/dev/vdsp.c
112
u_short sl_nparts; /* partition count */
sys/arch/sparc64/dev/vdsp.c
1461
u_short cksum = 0, *sp1, *sp2;
sys/arch/sparc64/dev/vdsp.c
1529
sp1 = (u_short *)sc->sc_label;
sys/arch/sparc64/dev/vdsp.c
1530
sp2 = (u_short *)(sc->sc_label + 1);
sys/arch/sparc64/include/ctlreg.h
597
LDNC_GEN(u_short, lduha);
sys/arch/sparc64/sparc64/disksubr.c
229
u_short cksum = 0, *sp1, *sp2;
sys/arch/sparc64/sparc64/disksubr.c
233
sp1 = (u_short *)sl;
sys/arch/sparc64/sparc64/disksubr.c
234
sp2 = (u_short *)(sl + 1);
sys/arch/sparc64/sparc64/disksubr.c
388
u_short cksum, *sp1, *sp2;
sys/arch/sparc64/sparc64/disksubr.c
443
sp1 = (u_short *)sl;
sys/arch/sparc64/sparc64/disksubr.c
444
sp2 = (u_short *)(sl + 1);
sys/arch/sparc64/stand/ofwboot/ofdev.c
279
u_short cksum = 0, *sp1, *sp2;
sys/arch/sparc64/stand/ofwboot/ofdev.c
283
sp1 = (u_short *)sl;
sys/arch/sparc64/stand/ofwboot/ofdev.c
284
sp2 = (u_short *)(sl + 1);
sys/dev/acpi/acpicpu_x86.c
107
u_short state;
sys/dev/acpi/acpicpu_x86.c
109
u_short flags; /* CST_FLAG_* */
sys/dev/acpi/acpicpu_x86.c
110
u_short latency;
sys/dev/acpi/acpicpu_x86.c
1222
inb((u_short)best->address);
sys/dev/acpi/acpicpu_x86.c
1280
inb((u_short)best->address);
sys/dev/acpi/acpicpu_x86.c
1323
inb((u_short)best->address);
sys/dev/acpi/acpicpu_x86.c
1348
inb((u_short)best->address);
sys/dev/ata/ata.c
133
p = (u_short *)(prms->atap_model + i);
sys/dev/ata/ata.c
137
p = (u_short *)(prms->atap_serial + i);
sys/dev/ata/ata.c
141
p = (u_short *)(prms->atap_revision + i);
sys/dev/cardbus/com_cardbus.c
103
u_short vendor;
sys/dev/cardbus/com_cardbus.c
104
u_short product;
sys/dev/dec/if_le_dec.c
122
le_dec_writereg(volatile u_short *regptr, u_short val)
sys/dev/dec/if_le_dec.c
64
void le_dec_writereg(volatile u_short *regptr, u_short val);
sys/dev/i2c/adt7460.c
97
u_short index;
sys/dev/i2c/adt7462.c
146
u_short ut;
sys/dev/i2c/asc7621.c
86
u_short mVscale;
sys/dev/i2c/asc7621.c
87
u_short tempscale; /* else a fan */
sys/dev/i2c/lm93.c
88
u_short mVscale;
sys/dev/i2c/lm93.c
89
u_short tempscale; /* else a fan */
sys/dev/ic/bt8xx.h
59
u_short rows;
sys/dev/ic/bt8xx.h
60
u_short columns;
sys/dev/ic/bt8xx.h
61
u_short frames;
sys/dev/ic/dp8390.c
1024
dp8390_ring_copy(struct dp8390_softc *sc, int src, caddr_t dst, u_short amount)
sys/dev/ic/dp8390.c
1028
u_short tmp_amount;
sys/dev/ic/dp8390.c
373
u_short len;
sys/dev/ic/dp8390.c
491
u_short len;
sys/dev/ic/dp8390.c
52
int, caddr_t, u_short);
sys/dev/ic/dp8390.c
916
dp8390_get(struct dp8390_softc *sc, int src, u_short total_len)
sys/dev/ic/dp8390.c
919
u_short len;
sys/dev/ic/dp8390var.h
175
struct mbuf *dp8390_get(struct dp8390_softc *, int, u_short);
sys/dev/ic/dp8390var.h
55
u_short txb_cnt; /* Number of transmit buffers */
sys/dev/ic/dp8390var.h
56
u_short txb_inuse; /* number of transmit buffers active */
sys/dev/ic/dp8390var.h
58
u_short txb_new; /* pointer to where new buffer will be added */
sys/dev/ic/dp8390var.h
59
u_short txb_next_tx; /* pointer to next buffer ready to xmit */
sys/dev/ic/dp8390var.h
60
u_short txb_len[8]; /* buffered xmit buffer lengths */
sys/dev/ic/dp8390var.h
61
u_short tx_page_start; /* first page of TX buffer area */
sys/dev/ic/dp8390var.h
62
u_short rec_page_start; /* first page of RX ring-buffer */
sys/dev/ic/dp8390var.h
63
u_short rec_page_stop; /* last page of RX ring-buffer */
sys/dev/ic/dp8390var.h
64
u_short next_packet; /* pointer to next unread RX packet */
sys/dev/ic/dp8390var.h
75
int, caddr_t, u_short);
sys/dev/ic/elink3.c
249
epconfig(struct ep_softc *sc, u_short chipset, u_int8_t *enaddr)
sys/dev/ic/elink3reg.h
191
#define GLOBAL_RESET (u_short) 0x0000 /* Wait at least 1ms after issuing */
sys/dev/ic/elink3reg.h
192
#define WINDOW_SELECT (u_short) (0x1<<11)
sys/dev/ic/elink3reg.h
193
#define START_TRANSCEIVER (u_short) (0x2<<11) /* Read ADDR_CFG reg to determine
sys/dev/ic/elink3reg.h
197
#define RX_DISABLE (u_short) (0x3<<11) /* state disabled on power-up */
sys/dev/ic/elink3reg.h
198
#define RX_ENABLE (u_short) (0x4<<11)
sys/dev/ic/elink3reg.h
199
#define RX_RESET (u_short) (0x5<<11)
sys/dev/ic/elink3reg.h
200
#define RX_DISCARD_TOP_PACK (u_short) (0x8<<11)
sys/dev/ic/elink3reg.h
201
#define TX_ENABLE (u_short) (0x9<<11)
sys/dev/ic/elink3reg.h
202
#define TX_DISABLE (u_short) (0xa<<11)
sys/dev/ic/elink3reg.h
203
#define TX_RESET (u_short) (0xb<<11)
sys/dev/ic/elink3reg.h
204
#define REQ_INTR (u_short) (0xc<<11)
sys/dev/ic/elink3reg.h
210
#define ACK_INTR (u_short) (0x6800)
sys/dev/ic/elink3reg.h
211
# define C_INTR_LATCH (u_short) (ACK_INTR|0x01)
sys/dev/ic/elink3reg.h
212
# define C_CARD_FAILURE (u_short) (ACK_INTR|0x02)
sys/dev/ic/elink3reg.h
213
# define C_TX_COMPLETE (u_short) (ACK_INTR|0x04)
sys/dev/ic/elink3reg.h
214
# define C_TX_AVAIL (u_short) (ACK_INTR|0x08)
sys/dev/ic/elink3reg.h
215
# define C_RX_COMPLETE (u_short) (ACK_INTR|0x10)
sys/dev/ic/elink3reg.h
216
# define C_RX_EARLY (u_short) (ACK_INTR|0x20)
sys/dev/ic/elink3reg.h
217
# define C_INT_RQD (u_short) (ACK_INTR|0x40)
sys/dev/ic/elink3reg.h
218
# define C_UPD_STATS (u_short) (ACK_INTR|0x80)
sys/dev/ic/elink3reg.h
220
#define SET_INTR_MASK (u_short) (0x0e<<11)
sys/dev/ic/elink3reg.h
223
#define STATUS_ENABLE (u_short) (0x0f<<11)
sys/dev/ic/elink3reg.h
225
#define SET_RD_0_MASK (u_short) (0x0f<<11)
sys/dev/ic/elink3reg.h
227
#define SET_RX_FILTER (u_short) (0x10<<11)
sys/dev/ic/elink3reg.h
228
# define FIL_INDIVIDUAL (u_short) (0x01)
sys/dev/ic/elink3reg.h
229
# define FIL_MULTICAST (u_short) (0x02)
sys/dev/ic/elink3reg.h
230
# define FIL_BRDCST (u_short) (0x04)
sys/dev/ic/elink3reg.h
231
# define FIL_PROMISC (u_short) (0x08)
sys/dev/ic/elink3reg.h
233
#define SET_RX_EARLY_THRESH (u_short) (0x11<<11)
sys/dev/ic/elink3reg.h
234
#define SET_TX_AVAIL_THRESH (u_short) (0x12<<11)
sys/dev/ic/elink3reg.h
235
#define SET_TX_START_THRESH (u_short) (0x13<<11)
sys/dev/ic/elink3reg.h
236
#define START_DMA (u_short) (0x14<<11) /* busmaster-only */
sys/dev/ic/elink3reg.h
239
#define STATS_ENABLE (u_short) (0x15<<11)
sys/dev/ic/elink3reg.h
240
#define STATS_DISABLE (u_short) (0x16<<11)
sys/dev/ic/elink3reg.h
241
#define STOP_TRANSCEIVER (u_short) (0x17<<11)
sys/dev/ic/elink3reg.h
244
#define POWERUP (u_short) (0x1b<<11)
sys/dev/ic/elink3reg.h
245
#define POWERDOWN (u_short) (0x1c<<11)
sys/dev/ic/elink3reg.h
246
#define POWERAUTO (u_short) (0x1d<<11)
sys/dev/ic/elink3reg.h
275
#define S_INTR_LATCH (u_short) (0x0001)
sys/dev/ic/elink3reg.h
276
#define S_CARD_FAILURE (u_short) (0x0002)
sys/dev/ic/elink3reg.h
277
#define S_TX_COMPLETE (u_short) (0x0004)
sys/dev/ic/elink3reg.h
278
#define S_TX_AVAIL (u_short) (0x0008)
sys/dev/ic/elink3reg.h
279
#define S_RX_COMPLETE (u_short) (0x0010)
sys/dev/ic/elink3reg.h
280
#define S_RX_EARLY (u_short) (0x0020)
sys/dev/ic/elink3reg.h
281
#define S_INT_RQD (u_short) (0x0040)
sys/dev/ic/elink3reg.h
282
#define S_UPD_STATS (u_short) (0x0080)
sys/dev/ic/elink3reg.h
283
#define S_DMA_DONE (u_short) (0x0100) /* DMA cards only */
sys/dev/ic/elink3reg.h
284
#define S_DOWN_COMPLETE (u_short) (0x0200) /* DMA cards only */
sys/dev/ic/elink3reg.h
285
#define S_UP_COMPLETE (u_short) (0x0400) /* DMA cards only */
sys/dev/ic/elink3reg.h
286
#define S_DMA_IN_PROGRESS (u_short) (0x0800) /* DMA cards only */
sys/dev/ic/elink3reg.h
287
#define S_COMMAND_IN_PROGRESS (u_short) (0x1000)
sys/dev/ic/elink3reg.h
305
#define ERR_INCOMPLETE (u_short) (0x8000)
sys/dev/ic/elink3reg.h
306
#define ERR_RX (u_short) (0x4000)
sys/dev/ic/elink3reg.h
307
#define ERR_MASK (u_short) (0x7800)
sys/dev/ic/elink3reg.h
308
#define ERR_OVERRUN (u_short) (0x4000)
sys/dev/ic/elink3reg.h
309
#define ERR_RUNT (u_short) (0x5800)
sys/dev/ic/elink3reg.h
310
#define ERR_ALIGNMENT (u_short) (0x6000)
sys/dev/ic/elink3reg.h
311
#define ERR_CRC (u_short) (0x6800)
sys/dev/ic/elink3reg.h
312
#define ERR_OVERSIZE (u_short) (0x4800)
sys/dev/ic/elink3reg.h
313
#define ERR_DRIBBLE (u_short) (0x1000)
sys/dev/ic/elink3reg.h
343
#define RX_BYTES_MASK (u_short) (0x07ff)
sys/dev/ic/elink3reg.h
364
#define CONFIG_RAMSIZE (u_short) 0x0007
sys/dev/ic/elink3reg.h
365
#define CONFIG_RAMSIZE_SHIFT (u_short) 0
sys/dev/ic/elink3reg.h
367
#define CONFIG_RAMWIDTH (u_short) 0x0008
sys/dev/ic/elink3reg.h
368
#define CONFIG_RAMWIDTH_SHIFT (u_short) 3
sys/dev/ic/elink3reg.h
370
#define CONFIG_RAMSPEED (u_short) 0x0030
sys/dev/ic/elink3reg.h
371
#define CONFIG_RAMSPEED_SHIFT (u_short) 4
sys/dev/ic/elink3reg.h
372
#define CONFIG_ROMSIZE (u_short) 0x00c0
sys/dev/ic/elink3reg.h
373
#define CONFIG_ROMSIZE_SHIFT (u_short) 6
sys/dev/ic/elink3reg.h
376
#define CONFIG_RAMSPLIT (u_short) 0x0003
sys/dev/ic/elink3reg.h
377
#define CONFIG_RAMSPLIT_SHIFT (u_short) 0
sys/dev/ic/elink3reg.h
378
#define CONFIG_MEDIAMASK (u_short) 0x0070
sys/dev/ic/elink3reg.h
379
#define CONFIG_MEDIAMASK_SHIFT (u_short) 4
sys/dev/ic/elink3reg.h
388
#define EPMEDIA_10BASE_T (u_short) 0x00
sys/dev/ic/elink3reg.h
389
#define EPMEDIA_AUI (u_short) 0x01
sys/dev/ic/elink3reg.h
390
#define EPMEDIA_RESV1 (u_short) 0x02
sys/dev/ic/elink3reg.h
391
#define EPMEDIA_10BASE_2 (u_short) 0x03
sys/dev/ic/elink3reg.h
392
#define EPMEDIA_100BASE_TX (u_short) 0x04
sys/dev/ic/elink3reg.h
393
#define EPMEDIA_100BASE_FX (u_short) 0x05
sys/dev/ic/elink3reg.h
394
#define EPMEDIA_MII (u_short) 0x06
sys/dev/ic/elink3reg.h
395
#define EPMEDIA_100BASE_T4 (u_short) 0x07
sys/dev/ic/elink3reg.h
398
#define CONFIG_AUTOSELECT (u_short) 0x0100
sys/dev/ic/elink3reg.h
399
#define CONFIG_AUTOSELECT_SHIFT (u_short) 8
sys/dev/ic/elink3reg.h
453
#define FIFOS_RX_RECEIVING (u_short) 0x8000
sys/dev/ic/elink3reg.h
454
#define FIFOS_RX_UNDERRUN (u_short) 0x2000
sys/dev/ic/elink3reg.h
455
#define FIFOS_RX_STATUS_OVERRUN (u_short) 0x1000
sys/dev/ic/elink3reg.h
456
#define FIFOS_RX_OVERRUN (u_short) 0x0800
sys/dev/ic/elink3reg.h
457
#define FIFOS_TX_OVERRUN (u_short) 0x0400
sys/dev/ic/elink3var.h
71
u_short ep_chipset; /* Chipset family on this board */
sys/dev/ic/elink3var.h
91
void epconfig(struct ep_softc *, u_short, u_int8_t *);
sys/dev/ic/fxp.c
137
void fxp_write_eeprom(struct fxp_softc *, u_short *, int, int);
sys/dev/ic/fxp.c
266
fxp_write_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words)
sys/dev/ic/fxp.c
600
fxp_read_eeprom(struct fxp_softc *sc, u_short *data, int offset,
sys/dev/ic/i82365var.h
107
u_short start;
sys/dev/ic/i82365var.h
108
u_short len;
sys/dev/ic/i82586reg.h
137
u_short ie_fd_status; /* status for this frame */
sys/dev/ic/i82586reg.h
138
u_short ie_fd_last; /* end of frame list flag */
sys/dev/ic/i82586reg.h
139
u_short ie_fd_next; /* 16-pointer to next RFD */
sys/dev/ic/i82586reg.h
140
u_short ie_fd_buf_desc; /* 16-pointer to list of buffer desc's */
sys/dev/ic/i82586reg.h
143
u_short ie_length; /* 802 length/Ether type */
sys/dev/ic/i82586reg.h
144
u_short mbz; /* must be zero */
sys/dev/ic/i82586reg.h
159
u_short ie_rbd_actual; /* status for this buffer */
sys/dev/ic/i82586reg.h
160
u_short ie_rbd_next; /* 16-pointer to next RBD */
sys/dev/ic/i82586reg.h
162
u_short ie_rbd_length; /* length of the buffer */
sys/dev/ic/i82586reg.h
163
u_short mbz; /* must be zero */
sys/dev/ic/i82586reg.h
172
u_short ie_cmd_status; /* status of this command */
sys/dev/ic/i82586reg.h
173
u_short ie_cmd_cmd; /* command word */
sys/dev/ic/i82586reg.h
174
u_short ie_cmd_link; /* link to next command */
sys/dev/ic/i82586reg.h
202
u_short ie_xmit_desc; /* 16-pointer to buffer descriptor */
sys/dev/ic/i82586reg.h
205
u_short ie_xmit_length; /* 802.3 length/Ether type field */
sys/dev/ic/i82586reg.h
222
u_short ie_xmit_flags; /* see below */
sys/dev/ic/i82586reg.h
223
u_short ie_xmit_next; /* 16-pointer to next desc. */
sys/dev/ic/i82586reg.h
240
u_short ie_mcast_bytes; /* size (in bytes) of multicast addresses */
sys/dev/ic/i82586reg.h
252
u_short ie_tdr_time; /* error bits and time */
sys/dev/ic/i82586reg.h
55
u_short mbz; /* must be zero */
sys/dev/ic/i82586reg.h
75
u_short ie_scb_offset; /* 16-bit physaddr of next struct */
sys/dev/ic/i82586reg.h
83
u_short ie_status; /* status word */
sys/dev/ic/i82586reg.h
84
u_short ie_command; /* command word */
sys/dev/ic/i82586reg.h
85
u_short ie_command_list; /* 16-pointer to command block list */
sys/dev/ic/i82586reg.h
86
u_short ie_recv_list; /* 16-pointer to receive frame list */
sys/dev/ic/i82586reg.h
87
u_short ie_err_crc; /* CRC errors */
sys/dev/ic/i82586reg.h
88
u_short ie_err_align; /* Alignment errors */
sys/dev/ic/i82586reg.h
89
u_short ie_err_resource; /* Resource errors */
sys/dev/ic/i82586reg.h
90
u_short ie_err_overrun; /* Overrun errors */
sys/dev/ic/i82596.c
1184
u_short len;
sys/dev/ic/if_wi_hostap.h
85
u_short flags;
sys/dev/ic/lemac.c
389
cksum = *(u_short *)&hwaddr[0];
sys/dev/ic/lemac.c
391
cksum = ((u_short)hwaddr[1] << 8) | (u_short)hwaddr[0];
sys/dev/ic/lemac.c
400
cksum += *(u_short *)&hwaddr[2];
sys/dev/ic/lemac.c
402
cksum += ((u_short)hwaddr[3] << 8) | (u_short)hwaddr[2];
sys/dev/ic/lemac.c
413
cksum += *(u_short *)&hwaddr[4];
sys/dev/ic/lemac.c
415
cksum += ((u_short)hwaddr[5] << 8) | (u_short)hwaddr[4];
sys/dev/ic/ncr53c9xvar.h
298
u_short sc_msgify; /* IDENTIFY message associated with this nexus */
sys/dev/ic/ncr53c9xvar.h
299
u_short sc_msgout; /* What message is on its way out? */
sys/dev/ic/ncr53c9xvar.h
300
u_short sc_msgpriq; /* One or more messages to send (encoded) */
sys/dev/ic/ncr53c9xvar.h
301
u_short sc_msgoutq; /* What messages have been sent so far? */
sys/dev/ic/ne2000.c
611
u_short amount)
sys/dev/ic/ne2000.c
618
u_short tmp_amount;
sys/dev/ic/ne2000.c
75
int ne2000_ring_copy(struct dp8390_softc *, int, caddr_t, u_short);
sys/dev/isa/ess.c
327
u_short scr_value;
sys/dev/isa/essvar.h
130
u_short sc_open; /* reference count of open calls */
sys/dev/isa/gus.c
370
u_short *dei = sc->sc_deintr_buf;
sys/dev/isa/gus.c
371
u_short *sbuf = buf;
sys/dev/isa/gusvar.h
293
u_short count;
sys/dev/isa/ics2101var.h
40
u_short sc_selio; /* select I/O address */
sys/dev/isa/ics2101var.h
41
u_short sc_dataio; /* data I/O address */
sys/dev/isa/if_ec.c
108
int ec_ring_copy(struct dp8390_softc *, int, caddr_t, u_short);
sys/dev/isa/if_ec.c
666
u_short amount)
sys/dev/isa/if_ec.c
669
u_short tmp_amount;
sys/dev/isa/if_eg.c
494
u_short *ptr;
sys/dev/isa/if_eg.c
547
for (ptr = (u_short *)sc->eg_outbuf; len > 0; len -= 2) {
sys/dev/isa/if_eg.c
571
u_short *ptr;
sys/dev/isa/if_eg.c
585
for (ptr = (u_short *)sc->eg_inbuf; len > 0; len -= 2) {
sys/dev/isa/if_ep_isa.c
106
u_short model;
sys/dev/isa/if_ep_isa.c
111
epaddcard(int bus, int iobase, int irq, u_short model)
sys/dev/isa/if_ep_isa.c
82
static void epaddcard(int, int, int, u_short);
sys/dev/isa/if_ex.c
117
u_short ex_eeprom_read(struct ex_softc *, int);
sys/dev/isa/if_ex.c
173
u_short eaddr_tmp;
sys/dev/isa/if_ex.c
80
u_short irq_no; /* IRQ number. */
sys/dev/isa/if_ex.c
939
u_short
sys/dev/isa/if_ex.c
943
u_short data = 0;
sys/dev/isa/if_ie.c
1317
u_short len;
sys/dev/isa/if_ie.c
1529
u_short
sys/dev/isa/if_ie.c
1659
scb->ie_command = (u_short)cmd;
sys/dev/isa/if_ie.c
241
u_short irq_encoded; /* encoded interrupt on IEE16 */
sys/dev/isa/if_ie.c
265
u_short ee16_read_eeprom(struct ie_softc *, int);
sys/dev/isa/if_ie.c
315
#define MK_16(base, ptr) ((u_short)(u_long)MK_24(base, ptr))
sys/dev/isa/if_ie.c
556
u_short board_id, id_var1, id_var2, checksum = 0;
sys/dev/isa/if_ie.c
557
u_short eaddrtemp, irq;
sys/dev/isa/if_ie.c
558
u_short pg, adjust, decode, edecode;
sys/dev/isa/if_ie.c
798
register u_short status;
sys/dev/isa/if_we.c
133
int we_ring_copy(struct dp8390_softc *, int, caddr_t, u_short);
sys/dev/isa/if_we.c
699
we_ring_copy(struct dp8390_softc *sc, int src, caddr_t dst, u_short amount)
sys/dev/isa/if_we.c
702
u_short tmp_amount;
sys/dev/isa/isapnpres.c
438
u_short len;
sys/dev/isa/sbdsp.c
127
u_short lowrate, highrate;
sys/dev/pci/bktr/bktr_core.c
1179
*(u_short *)arg = temp;
sys/dev/pci/bktr/bktr_core.c
1302
set_fps(bktr, *(u_short *)arg);
sys/dev/pci/bktr/bktr_core.c
1306
*(u_short *)arg = bktr->fps;
sys/dev/pci/bktr/bktr_core.c
337
static void set_fps( bktr_ptr_t bktr, u_short fps );
sys/dev/pci/bktr/bktr_core.c
3433
u_short fps_save = bktr->fps;
sys/dev/pci/bktr/bktr_core.c
3455
set_fps( bktr_ptr_t bktr, u_short fps )
sys/dev/pci/bktr/bktr_core.c
573
u_short tdec_save = INB(bktr, BKTR_TDEC);
sys/dev/pci/bktr/bktr_reg.h
547
u_short capcontrol; /* reg 0xdc capture control */
sys/dev/pci/bktr/bktr_reg.h
548
u_short bktr_cap_ctl;
sys/dev/pci/bktr/bktr_reg.h
596
u_short fps; /* frames per second */
sys/dev/pci/cac_pci.c
101
u_short cp_vendor;
sys/dev/pci/cac_pci.c
102
u_short cp_product;
sys/dev/pci/eap.c
131
u_short sc_port[AK_NPORTS]; /* mirror of the hardware setting */
sys/dev/pci/maestro.c
545
u_short vendor, product;
sys/dev/pci/pciide.c
289
u_short ide_flags;
sys/dev/pci/pucvar.h
51
u_short offset;
sys/dev/pcmcia/if_ep_pcmcia.c
114
u_short epp_chipset; /* 3Com chipset used */
sys/dev/sun/disklabel.h
101
u_short sl_interleave; /* interleave factor */
sys/dev/sun/disklabel.h
102
u_short sl_ncylinders; /* data cylinders */
sys/dev/sun/disklabel.h
103
u_short sl_acylinders; /* alternate cylinders */
sys/dev/sun/disklabel.h
104
u_short sl_ntracks; /* tracks per cylinder */
sys/dev/sun/disklabel.h
105
u_short sl_nsectors; /* sectors per track */
sys/dev/sun/disklabel.h
108
u_short sl_magic; /* == SUN_DKMAGIC */
sys/dev/sun/disklabel.h
109
u_short sl_cksum; /* xor checksum of all shorts */
sys/dev/sun/disklabel.h
117
u_short sl_nparts; /* partition count */
sys/dev/sun/disklabel.h
60
u_short spi_tag; /* filesystem type */
sys/dev/sun/disklabel.h
61
u_short spi_flag; /* flags */
sys/dev/sun/disklabel.h
96
u_short sl_rpm; /* rotational speed */
sys/dev/sun/disklabel.h
97
u_short sl_pcylinders; /* number of physical cyls */
sys/dev/sun/disklabel.h
99
u_short sl_sparespercyl; /* spare sectors per cylinder */
sys/dev/sun/z8530ms.c
382
u_short ring_data;
sys/dev/tc/if_le_ioasic.c
393
*(u_int16_t *) (to+0) = (u_short) t0;
sys/dev/wsfont/wsfont.c
131
u_short lockcount;
sys/dev/wsfont/wsfont.c
132
u_short cookie;
sys/dev/wsfont/wsfont.c
133
u_short flg;
sys/isofs/cd9660/cd9660_extern.h
108
void isofntrans(u_char *, int, u_char *, u_short *, int, int, int);
sys/isofs/cd9660/cd9660_lookup.c
114
u_short namelen;
sys/isofs/cd9660/cd9660_node.h
48
u_short iso_mode; /* files access mode and type */
sys/isofs/cd9660/cd9660_rrip.c
702
u_short *outlen, cdino_t *inump, struct iso_mnt *imp)
sys/isofs/cd9660/cd9660_rrip.c
743
u_short *outlen, struct iso_mnt *imp)
sys/isofs/cd9660/cd9660_util.c
159
isofntrans(u_char *infn, int infnlen, u_char *outfn, u_short *outfnlen,
sys/isofs/cd9660/cd9660_vnops.c
409
u_short namelen;
sys/isofs/cd9660/cd9660_vnops.c
575
u_short symlen;
sys/isofs/cd9660/iso_rrip.h
68
u_short *outlen; /* length of above */
sys/isofs/cd9660/iso_rrip.h
69
u_short maxlen; /* maximum length of above */
sys/isofs/cd9660/iso_rrip.h
76
char *outbuf, u_short *outlen,
sys/isofs/cd9660/iso_rrip.h
79
char *outbuf, u_short *outlen,
sys/isofs/udf/udf_vfsops.c
701
u_short ifid_len;
sys/isofs/udf/udf_vfsops.c
702
u_short ifid_pad;
sys/kern/exec_script.c
72
u_short script_sbits;
sys/kern/kern_malloc.c
429
u_short pagecnt = kup->ku_pagecnt;
sys/kern/subr_prf.c
671
flags&SHORTINT ? (u_long)(u_short)va_arg(ap, int) : \
sys/kern/subr_prof.c
125
p->kcount = (u_short *)cp;
sys/kern/subr_prof.c
127
p->froms = (u_short *)cp;
sys/kern/subr_prof.c
535
u_short v;
sys/kern/uipc_syscalls.c
1526
u_short ypbind_port;
sys/kern/uipc_syscalls.c
1529
u_short ypserv_udp_port;
sys/kern/uipc_syscalls.c
1530
u_short garbage;
sys/kern/uipc_syscalls.c
1531
u_short ypserv_tcp_port;
sys/kern/vfs_subr.c
317
static u_short xxxfs_mntid;
sys/lib/libkern/mcount.c
56
u_short *frompcindex;
sys/lib/libsa/bootp.c
132
bp->bp_secs = htons((u_short)(getsecs() - bot));
sys/lib/libsa/bootp.h
37
u_short bp_secs; /* seconds since boot began */
sys/lib/libsa/bootp.h
38
u_short bp_flags; /* RFC1532 broadcast, etc. */
sys/lib/libsa/dkcksum.c
45
u_short *start, *end;
sys/lib/libsa/dkcksum.c
46
u_short sum = 0;
sys/lib/libsa/dkcksum.c
48
start = (u_short *)lp;
sys/lib/libsa/dkcksum.c
49
end = (u_short *)&lp->d_partitions[lp->d_npartitions];
sys/lib/libsa/in_cksum.c
69
sum += htons(*(const u_short *)cp);
sys/lib/libsa/iodesc.h
48
u_short destport; /* dest. port, net order */
sys/lib/libsa/iodesc.h
49
u_short myport; /* local port, net order */
sys/lib/libsa/rpc.c
281
rpc_fromaddr(void *pkt, struct in_addr *addr, u_short *port)
sys/lib/libsa/rpc.h
55
void rpc_fromaddr(void *, struct in_addr *, u_short *);
sys/lib/libsa/tftp.c
166
wbuf.t.th_opcode = htons((u_short) RRQ);
sys/lib/libsa/tftp.c
209
wbuf.t.th_opcode = htons((u_short) ACK);
sys/lib/libsa/tftp.c
210
wbuf.t.th_block = htons((u_short) h->currblock);
sys/lib/libsa/tftp.c
244
wbuf.t.th_opcode = htons((u_short) ACK);
sys/lib/libsa/tftp.c
245
wbuf.t.th_block = htons((u_short) h->currblock);
sys/lib/libsa/tftp.c
247
wbuf.t.th_opcode = htons((u_short) ERROR);
sys/lib/libsa/tftp.c
248
wbuf.t.th_code = htons((u_short) ENOSPACE); /* ??? */
sys/msdosfs/denode.h
156
u_short de_CTime; /* creation time */
sys/msdosfs/denode.h
157
u_short de_CDate; /* creation date */
sys/msdosfs/denode.h
158
u_short de_ADate; /* access date */
sys/msdosfs/denode.h
159
u_short de_MTime; /* modification time */
sys/msdosfs/denode.h
160
u_short de_MDate; /* modification date */
sys/msdosfs/denode.h
248
u_short defid_len; /* length of structure */
sys/msdosfs/denode.h
249
u_short defid_pad; /* force long alignment */
sys/msdosfs/msdosfs_conv.c
105
const u_short *months;
sys/msdosfs/msdosfs_conv.c
175
u_short lastdosdate;
sys/msdosfs/msdosfs_conv.c
190
const u_short *months;
sys/msdosfs/msdosfs_conv.c
71
const u_short regyear[] = {
sys/msdosfs/msdosfs_conv.c
79
const u_short leapyear[] = {
sys/msdosfs/msdosfs_conv.c
90
u_short lastddate;
sys/msdosfs/msdosfs_conv.c
91
u_short lastdtime;
sys/net/bpf.h
87
u_short bv_major;
sys/net/bpf.h
88
u_short bv_minor;
sys/net/if.c
2677
u_short rtlabelid = READ_ONCE(ifp->if_rtlabelid);
sys/net/if.h
284
u_short ifm_msglen; /* to skip over non-understood messages */
sys/net/if.h
287
u_short ifm_hdrlen; /* sizeof(if_msghdr) to skip over the header */
sys/net/if.h
288
u_short ifm_index; /* index for associated ifp */
sys/net/if.h
289
u_short ifm_tableid; /* routing table id */
sys/net/if.h
303
u_short ifam_msglen; /* to skip over non-understood messages */
sys/net/if.h
306
u_short ifam_hdrlen; /* sizeof(ifa_msghdr) to skip over the header */
sys/net/if.h
307
u_short ifam_index; /* index for associated ifp */
sys/net/if.h
308
u_short ifam_tableid; /* routing table id */
sys/net/if.h
320
u_short ifan_msglen; /* to skip over non-understood messages */
sys/net/if.h
323
u_short ifan_hdrlen; /* sizeof(if_announcemsghdr) to skip header */
sys/net/if.h
324
u_short ifan_index; /* index for associated ifp */
sys/net/if.h
325
u_short ifan_what; /* what type of announcement */
sys/net/if_sppp.h
152
u_short proto; /* authentication protocol to use */
sys/net/if_sppp.h
153
u_short flags;
sys/net/if_sppp.h
170
u_short pp_alivecnt; /* keepalive packets counter */
sys/net/if_sppp.h
171
u_short pp_loopcnt; /* loopback detection counter */
sys/net/if_sppp.h
74
u_short proto; /* authentication protocol to use */
sys/net/if_sppp.h
75
u_short flags;
sys/net/if_spppsubr.c
176
u_short protocol;
sys/net/if_spppsubr.c
1792
u_short authproto;
sys/net/if_spppsubr.c
183
u_short len;
sys/net/if_spppsubr.c
194
u_short proto; /* PPP control protocol number */
sys/net/if_spppsubr.c
2239
u_short authproto;
sys/net/if_spppsubr.c
236
void sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
sys/net/if_spppsubr.c
237
u_char ident, u_short len, void *data);
sys/net/if_spppsubr.c
327
const char *sppp_auth_type_name(u_short proto, u_char type);
sys/net/if_spppsubr.c
333
const char *sppp_proto_name(u_short proto);
sys/net/if_spppsubr.c
341
void sppp_print_bytes(const u_char *p, u_short len);
sys/net/if_spppsubr.c
342
void sppp_print_string(const char *p, u_short len);
sys/net/if_spppsubr.c
4789
sppp_auth_type_name(u_short proto, u_char type)
sys/net/if_spppsubr.c
4889
sppp_proto_name(u_short proto)
sys/net/if_spppsubr.c
4904
sppp_print_bytes(const u_char *p, u_short len)
sys/net/if_spppsubr.c
4912
sppp_print_string(const char *p, u_short len)
sys/net/if_spppsubr.c
951
sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
sys/net/if_spppsubr.c
952
u_char ident, u_short len, void *data)
sys/net/if_tun.c
394
u_short stayup = 0;
sys/net/if_tun.h
100
u_short type;
sys/net/if_tun.h
101
u_short flags;
sys/net/if_var.h
202
u_short if_rtlabelid; /* [c] next route label */
sys/net/if_vlan_var.h
46
u_short vlr_tag;
sys/net/pf.c
131
u_short reason;
sys/net/pf.c
187
struct pf_ruleset **, u_short *);
sys/net/pf.c
200
struct pf_state **, u_short *, int *, int);
sys/net/pf.c
202
struct pf_state **, u_short *);
sys/net/pf.c
206
u_short *);
sys/net/pf.c
208
u_short *);
sys/net/pf.c
213
struct pf_state **, u_short *);
sys/net/pf.c
220
int, int, u_short *);
sys/net/pf.c
222
u_short *);
sys/net/pf.c
224
int, int, u_short *);
sys/net/pf.c
226
u_short *);
sys/net/pf.c
3628
u_int16_t rtag, u_int sack, u_int rdom, u_short *reason)
sys/net/pf.c
3743
u_int16_t rtag, u_int rdom, u_short *reason)
sys/net/pf.c
3765
struct pf_state_peer *src, struct pf_state_peer *dst, u_short *reason)
sys/net/pf.c
4396
SHA512Update(&ctx, &pd->hdr.tcp.th_sport, sizeof(u_short));
sys/net/pf.c
4397
SHA512Update(&ctx, &pd->hdr.tcp.th_dport, sizeof(u_short));
sys/net/pf.c
4888
struct pf_rule **am, struct pf_ruleset **rsm, u_short *reason)
sys/net/pf.c
5136
u_short reason;
sys/net/pf.c
5539
pf_tcp_track_full(struct pf_pdesc *pd, struct pf_state **stp, u_short *reason,
sys/net/pf.c
5883
u_short *reason)
sys/net/pf.c
5968
pf_synproxy(struct pf_pdesc *pd, struct pf_state **stp, u_short *reason)
sys/net/pf.c
6070
u_short reason;
sys/net/pf.c
6096
pf_test_state(struct pf_pdesc *pd, struct pf_state **stp, u_short *reason)
sys/net/pf.c
6299
u_short *reason)
sys/net/pf.c
7148
u_short *reasonp, sa_family_t af)
sys/net/pf.c
7625
u_short *reason)
sys/net/pf.c
7680
pf_walk_header(struct pf_pdesc *pd, struct ip *h, u_short *reason)
sys/net/pf.c
7747
u_short *reason)
sys/net/pf.c
7815
pf_walk_header6(struct pf_pdesc *pd, struct ip6_hdr *h, u_short *reason)
sys/net/pf.c
8022
struct pfi_kif *kif, struct mbuf *m, u_short *reason)
sys/net/pf.c
8279
u_short action, reason = 0;
sys/net/pf_norm.c
1019
pf_normalize_ip(struct pf_pdesc *pd, u_short *reason)
sys/net/pf_norm.c
1067
pf_normalize_ip6(struct pf_pdesc *pd, u_short *reason)
sys/net/pf_norm.c
1123
u_short reason;
sys/net/pf_norm.c
124
struct pf_frent *pf_create_fragment(u_short *);
sys/net/pf_norm.c
1250
pf_normalize_tcp_stateful(struct pf_pdesc *pd, u_short *reason,
sys/net/pf_norm.c
134
struct pf_frent *, u_short *);
sys/net/pf_norm.c
136
int pf_reassemble(struct mbuf **, int, u_short *);
sys/net/pf_norm.c
139
u_int16_t, u_int16_t, int, u_short *);
sys/net/pf_norm.c
310
pf_create_fragment(u_short *reason)
sys/net/pf_norm.c
514
struct pf_frent *frent, u_short *reason)
sys/net/pf_norm.c
761
pf_reassemble(struct mbuf **m0, int dir, u_short *reason)
sys/net/pf_norm.c
829
u_int16_t hdrlen, u_int16_t extoff, int dir, u_short *reason)
sys/net/pf_syncookies.c
181
pf_syncookie_send(struct pf_pdesc *pd, u_short *reason)
sys/net/pf_syncookies.c
352
pf_syncookie_recreate_syn(struct pf_pdesc *pd, u_short *reason)
sys/net/pfvar.h
1787
u_short *);
sys/net/pfvar.h
1795
void *pf_pull_hdr(struct mbuf *, int, void *, int, u_short *, sa_family_t);
sys/net/pfvar.h
1822
int pf_normalize_ip(struct pf_pdesc *, u_short *);
sys/net/pfvar.h
1823
int pf_normalize_ip6(struct pf_pdesc *, u_short *);
sys/net/pfvar.h
1828
int pf_normalize_tcp_stateful(struct pf_pdesc *, u_short *,
sys/net/pfvar.h
2019
u_int16_t, u_int, u_int, u_short *);
sys/net/pfvar.h
2024
u_int16_t, u_int, u_short *);
sys/net/pfvar.h
2030
void pf_syncookie_send(struct pf_pdesc *, u_short *);
sys/net/pfvar.h
2033
u_short *);
sys/net/pipex.c
2823
cksum = (u_short) ~acc; \
sys/net/pipex.c
2827
cksum = (u_short) acc; \
sys/net/route.h
213
u_short rti_tableid; /* routing table id */
sys/net/route.h
214
u_short rti_domainid; /* routing domain id */
sys/net/route.h
221
u_short rtm_msglen; /* to skip over non-understood messages */
sys/net/route.h
224
u_short rtm_hdrlen; /* sizeof(rt_msghdr) to skip over the header */
sys/net/route.h
225
u_short rtm_index; /* index for associated ifp */
sys/net/route.h
226
u_short rtm_tableid; /* routing table id */
sys/netinet/in_pcb.c
1113
const struct in_addr *faddr, u_short fport,
sys/netinet/in_pcb.c
1114
const struct in_addr *laddr, u_short lport)
sys/netinet/in_pcb.c
125
const struct in_addr *, u_short, const struct in_addr *, u_short);
sys/netinet/in_pcb.c
131
const struct in_addr *, u_short, const struct in_addr *, u_short);
sys/netinet/in_pcb.c
132
uint64_t in_pcblhash(struct inpcbtable *, u_int, u_short);
sys/netinet/in_pcb.c
154
const struct in_addr *faddr, u_short fport,
sys/netinet/in_pcb.c
155
const struct in_addr *laddr, u_short lport)
sys/netinet/in_pcb.c
170
in_pcblhash(struct inpcbtable *table, u_int rdomain, u_short lport)
sys/netinet/in_pcb.h
331
u_short, const struct in6_addr *, u_short);
sys/netinet/ip_icmp.c
1020
static const u_short mtu_table[] = {
sys/netinet/ip_input.c
1578
u_short mflags, pfflags;
sys/netinet/ip_ipsp.h
529
u_short xf_type; /* Unique ID of xform */
sys/netinet/ip_ipsp.h
530
u_short xf_flags; /* flags (see below) */
sys/netinet/tcp_subr.c
963
SHA512Update(&ctx, &tp->t_inpcb->inp_lport, sizeof(u_short));
sys/netinet/tcp_subr.c
964
SHA512Update(&ctx, &tp->t_inpcb->inp_fport, sizeof(u_short));
sys/netinet/tcp_var.h
154
u_short t_maxopd; /* mss plus options */
sys/netinet/tcp_var.h
155
u_short t_peermss; /* peer's maximum segment size */
sys/netinet/tcp_var.h
197
u_short t_pmtud_ip_len; /* IP length from ICMP payload */
sys/netinet/tcp_var.h
198
u_short t_pmtud_ip_hl; /* IP header length from ICMP payload */
sys/netinet/tcp_var.h
267
u_short sc_fixflags; /* [I] set during initialization */
sys/netinet/tcp_var.h
285
u_short sch_length; /* [S] # entries in bucket */
sys/netinet/tcp_var.h
77
u_short t_maxseg; /* maximum segment size */
sys/netinet6/in6_pcb.c
128
const struct in6_addr *, u_short, const struct in6_addr *, u_short);
sys/netinet6/in6_pcb.c
135
const struct in6_addr *faddr, u_short fport,
sys/netinet6/in6_pcb.c
136
const struct in6_addr *laddr, u_short lport)
sys/netinet6/in6_pcb.c
156
u_short lport = sin6->sin6_port;
sys/netinet6/in6_pcb.c
429
u_short fport = fport_arg, lport = lport_arg;
sys/netinet6/in6_pcb.c
565
const struct in6_addr *faddr, u_short fport,
sys/netinet6/in6_pcb.c
566
const struct in6_addr *laddr, u_short lport)
sys/netinet6/ip6_forward.c
90
u_short mflags, pfflags;
sys/netinet6/ip6_mroute.h
61
typedef u_short mifi_t; /* type of a mif index */
sys/netinet6/ip6_mroute.h
87
u_short mif6c_pifi; /* the index of the physical IF */
sys/netinet6/nd6_nbr.c
487
ip6->ip6_plen = htons((u_short)icmp6len);
sys/netinet6/nd6_nbr.c
952
ip6->ip6_plen = htons((u_short)icmp6len);
sys/netinet6/raw_ip6.c
471
ip6->ip6_plen = htons((u_short)plen);
sys/netinet6/udp6_output.c
104
u_short fport;
sys/netinet6/udp6_output.c
198
udp6->uh_ulen = htons((u_short)plen);
sys/netinet6/udp6_output.c
208
ip6->ip6_plen = htons((u_short)plen);
sys/nfs/nfsmount.h
74
u_short nm_acregmin; /* Attr cache file recently modified */
sys/nfs/nfsmount.h
75
u_short nm_acregmax; /* ac file not recently modified */
sys/nfs/nfsmount.h
76
u_short nm_acdirmin; /* ac for dir recently modified */
sys/nfs/nfsmount.h
77
u_short nm_acdirmax; /* ac for dir not recently modified */
sys/scsi/scsiconf.h
321
u_short pending;
sys/sys/ataio.h
17
u_short cylinder; /* cylinder/lba address */
sys/sys/cdio.h
175
u_short len;
sys/sys/cdio.h
186
u_short data_len;
sys/sys/gmon.h
105
u_short link;
sys/sys/gmon.h
106
u_short pad;
sys/sys/gmon.h
130
u_short *kcount;
sys/sys/gmon.h
132
u_short *froms;
sys/sys/malloc.h
316
u_short ks_limblocks; /* number of times blocked for hitting limit */
sys/sys/malloc.h
329
u_short freecnt;/* for small allocations, free pieces in page */
sys/sys/malloc.h
330
u_short pagecnt;/* for large allocations, pages alloced */
sys/sys/mbuf.h
86
u_short mh_flags; /* flags; see below */
sys/sys/mount.h
54
u_short fid_len; /* length of data in bytes */
sys/sys/mount.h
55
u_short fid_reserved; /* force longword alignment */
sys/sys/proc.h
246
u_short ps_iflags; /* [I] flags set at exec time */
sys/sys/time.h
345
u_short dt_year;
usr.bin/bc/bc.y
104
static u_short var_count;
usr.bin/bc/bc.y
859
u_short num;
usr.bin/compress/zopen.c
108
u_short zs_codetab[HSIZE];
usr.bin/compress/zopen.c
573
tab_prefixof(zs->zs_code) = (u_short) zs->zs_oldcode;
usr.bin/gprof/gprof.h
59
typedef u_short UNIT; /* unit of profiling */
usr.bin/netstat/inet6.c
903
snprintf(cp, len, "%d", ntohs((u_short)port));
usr.bin/netstat/show.c
350
sa6->sin6_scope_id = (u_int32_t)ntohs(*(u_short *)
usr.bin/netstat/show.c
352
*(u_short *)&in6->s6_addr[2] = 0;
usr.bin/rpcinfo/rpcinfo.c
143
portnum = (u_short)tmp;
usr.bin/rpcinfo/rpcinfo.c
205
udpping(u_short portnum, int argc, char **argv)
usr.bin/rpcinfo/rpcinfo.c
341
tcpping(u_short portnum, int argc, char **argv)
usr.bin/rpcinfo/rpcinfo.c
60
void udpping(u_short portflag, int argc, char **argv);
usr.bin/rpcinfo/rpcinfo.c
61
void tcpping(u_short portflag, int argc, char **argv);
usr.bin/rpcinfo/rpcinfo.c
621
(u_short)port_num)) == 0) {
usr.bin/rpcinfo/rpcinfo.c
628
(u_short)port_num)) == 0) {
usr.bin/rpcinfo/rpcinfo.c
92
u_short portnum;
usr.bin/ssh/channels.c
4061
const char *host, u_short port)
usr.bin/ssh/channels.c
4116
const char *lhost, u_short lport, int cport,
usr.bin/ssh/channels.c
4402
const char *requestedhost, u_short requestedport, int translate)
usr.bin/ssh/channels.c
4442
const char *host, u_short port)
usr.bin/ssh/channels.c
4789
u_short listen_port, char *ctype, char *rname)
usr.bin/ssh/channels.c
4839
channel_connect_to_port(struct ssh *ssh, const char *host, u_short port,
usr.bin/ssh/channels.h
366
Channel *channel_connect_to_port(struct ssh *, const char *, u_short,
usr.bin/ssh/channels.h
372
u_short, char *, char *);
usr.bin/ssh/misc.c
746
put_host_port(const char *host, u_short port)
usr.bin/ssh/misc.h
76
char *put_host_port(const char *, u_short);
usr.bin/ssh/sshconnect.c
1559
struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms,
usr.bin/ssh/sshconnect.c
180
u_short port, const char *proxy_command)
usr.bin/ssh/sshconnect.c
422
struct sockaddr_storage *hostaddr, u_short port, int connection_attempts,
usr.bin/ssh/sshconnect.c
520
struct addrinfo *addrs, struct sockaddr_storage *hostaddr, u_short port,
usr.bin/ssh/sshconnect.c
596
u_short port, char **hostfile_hostname, char **hostfile_ipaddr)
usr.bin/ssh/sshconnect.c
915
struct sockaddr *hostaddr, u_short port,
usr.bin/ssh/sshconnect.c
98
const char *host_arg, u_short port, const char *proxy_command)
usr.bin/ssh/sshconnect.h
74
struct addrinfo *, struct sockaddr_storage *, u_short,
usr.bin/ssh/sshconnect.h
79
struct sockaddr *, u_short, struct passwd *, int,
usr.bin/ssh/sshconnect.h
85
void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short,
usr.bin/ssh/sshconnect.h
88
void ssh_kex2(struct ssh *ssh, char *, struct sockaddr *, u_short,
usr.bin/ssh/sshconnect2.c
115
order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port,
usr.bin/ssh/sshconnect2.c
213
ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port,
usr.bin/systat/netstat.c
436
tbprintf(":%d", ntohs((u_short)port));
usr.bin/systat/netstat.c
454
tbprintf(":%d", ntohs((u_short)port));
usr.bin/talk/ctl.c
52
u_short daemon_port; /* port number of the talk daemon */
usr.bin/talk/talk_ctl.h
40
extern u_short daemon_port;
usr.bin/tftp/tftp.c
159
dp->th_opcode = htons((u_short)DATA);
usr.bin/tftp/tftp.c
305
ap->th_opcode = htons((u_short)ACK);
usr.bin/tftp/tftp.c
410
ap->th_opcode = htons((u_short)ACK);
usr.bin/tftp/tftp.c
448
tp->th_opcode = htons((u_short)request);
usr.bin/tftp/tftp.c
488
tp->th_opcode = htons((u_short)ERROR);
usr.bin/tftp/tftp.c
489
tp->th_code = htons((u_short)error);
usr.bin/tftp/tftp.c
514
u_short op = ntohs(tp->th_opcode);
usr.bin/tftp/tftp.c
588
u_short op = ntohs(tp->th_opcode);
usr.bin/tmux/layout-custom.c
162
u_short csum;
usr.bin/tmux/layout-custom.c
27
static u_short layout_checksum(const char *);
usr.bin/tmux/layout-custom.c
46
static u_short
usr.bin/tmux/layout-custom.c
49
u_short csum;
usr.bin/tmux/tmux.h
805
u_short attr;
usr.bin/tmux/tmux.h
816
u_short attr;
usr.sbin/amd/amd/nfs_ops.c
174
fp->fh_sin.sin_port = (u_short) 0;
usr.sbin/amd/amd/nfs_ops.c
349
u_short port;
usr.sbin/amd/amd/srvr_nfs.c
171
np->np_mountd = htons((u_short) port);
usr.sbin/amd/amd/srvr_nfs.c
51
u_short np_mountd; /* Mount daemon port number */
usr.sbin/amd/amd/srvr_nfs.c
512
nfs_srvr_port(fserver *fs, u_short *port, void *wchan)
usr.sbin/amd/amd/util.c
281
bind_resv_port(int so, u_short *pp)
usr.sbin/amd/amq/amq.c
539
addr.sin_port = htons((u_short)alport);
usr.sbin/amd/include/am.h
282
extern int nfs_srvr_port(fserver *, u_short *, void *);
usr.sbin/amd/include/am.h
433
u_short s_uid; /* Uid of mounter */
usr.sbin/amd/rpcx/amq.h
41
u_short mt_mountuid;
usr.sbin/bgpd/bgpd.h
851
u_short ifindex;
usr.sbin/bgpd/kroute.c
108
u_short ifindex;
usr.sbin/bgpd/kroute.c
163
void knexthop_track(struct ktable *, u_short);
usr.sbin/bgpd/kroute.c
175
void if_change(u_short, int, struct if_data *);
usr.sbin/bgpd/kroute.c
2267
knexthop_track(struct ktable *kt, u_short ifindex)
usr.sbin/bgpd/kroute.c
2575
if_change(u_short ifindex, int flags, struct if_data *ifd)
usr.sbin/bgpd/kroute.c
3007
if (lim < next + sizeof(u_short) ||
usr.sbin/bgpd/kroute.c
67
u_short ifindex;
usr.sbin/bgpd/kroute.c
82
u_short ifindex;
usr.sbin/bgpd/kroute.c
903
u_short ifindex = 0;
usr.sbin/bgpd/kroute.c
91
u_short ifindex;
usr.sbin/config/config.h
220
u_short fi_srcline; /* and the line number */
usr.sbin/config/config.h
237
u_short oi_srcline; /* and the line number */
usr.sbin/dhcpd/dhcpd.c
95
u_short sync_port = 0;
usr.sbin/dhcpd/sync.c
116
sync_init(const char *iface, const char *baddr, u_short port)
usr.sbin/dhcpd/sync.c
68
sync_addhost(const char *name, u_short port)
usr.sbin/dhcpd/sync.h
70
extern int sync_init(const char *, const char *, u_short);
usr.sbin/dhcpd/sync.h
71
extern int sync_addhost(const char *, u_short);
usr.sbin/dvmrpd/dvmrpd.h
155
u_short ifindex;
usr.sbin/dvmrpd/dvmrpd.h
164
u_short ifindex;
usr.sbin/dvmrpd/dvmrpd.h
251
u_short ifindex;
usr.sbin/dvmrpd/dvmrpd.h
260
u_short ifindex;
usr.sbin/dvmrpd/dvmrpd.h
348
u_short ifindex; /* incoming vif */
usr.sbin/dvmrpd/dvmrpd.h
407
struct iface *if_find_index(u_short);
usr.sbin/dvmrpd/dvmrpe.h
76
u_short ifindex;
usr.sbin/dvmrpd/in_cksum.c
64
sum += htons(*(u_short *)cp);
usr.sbin/dvmrpd/interface.c
149
if_find_index(u_short ifindex)
usr.sbin/dvmrpd/kroute.c
227
if_change(u_short ifindex, int flags, struct if_data *ifd)
usr.sbin/dvmrpd/kroute.c
393
if (lim < next + sizeof(u_short) ||
usr.sbin/dvmrpd/kroute.c
62
void if_change(u_short, int, struct if_data *);
usr.sbin/dvmrpd/rde.h
50
u_short ifindex; /* learned from this iface */
usr.sbin/dvmrpd/rde.h
80
u_short ifindex; /* incoming vif */
usr.sbin/inetd/inetd.c
638
u_short port = htons(strtonum(sep->se_service,
usr.sbin/inetd/inetd.c
694
u_short port = htons(strtonum(sep->se_service,
usr.sbin/kgmon/kgmon.c
307
u_short *froms, *tickbuf;
usr.sbin/ldapd/uuid.h
42
u_short time_mid;
usr.sbin/ldapd/uuid.h
43
u_short time_hi_and_version;
usr.sbin/makefs/cd9660/iso_rrip.h
70
u_short *outlen; /* length of above */
usr.sbin/makefs/cd9660/iso_rrip.h
71
u_short maxlen; /* maximum length of above */
usr.sbin/makefs/cd9660/iso_rrip.h
78
char *outbuf, u_short *outlen,
usr.sbin/makefs/cd9660/iso_rrip.h
81
char *outbuf, u_short *outlen,
usr.sbin/makefs/msdos/denode.h
176
u_short de_CTime; /* creation time */
usr.sbin/makefs/msdos/denode.h
177
u_short de_CDate; /* creation date */
usr.sbin/makefs/msdos/denode.h
178
u_short de_ADate; /* access date */
usr.sbin/makefs/msdos/denode.h
179
u_short de_MTime; /* modification time */
usr.sbin/makefs/msdos/denode.h
180
u_short de_MDate; /* modification date */
usr.sbin/makefs/msdos/msdosfs_conv.c
102
const u_short *months;
usr.sbin/makefs/msdos/msdosfs_conv.c
67
const u_short regyear[] = {
usr.sbin/makefs/msdos/msdosfs_conv.c
75
const u_short leapyear[] = {
usr.sbin/makefs/msdos/msdosfs_conv.c
86
u_short lastddate;
usr.sbin/makefs/msdos/msdosfs_conv.c
87
u_short lastdtime;
usr.sbin/map-mbone/mapper.c
59
u_short flags; /* flags on connection */
usr.sbin/map-mbone/mapper.c
652
u_short flags = nb->flags;
usr.sbin/mksuncd/mksuncd.c
101
u_short sl_rpm; /* rotational speed */
usr.sbin/mksuncd/mksuncd.c
102
u_short sl_pcylinders; /* number of physical cyls */
usr.sbin/mksuncd/mksuncd.c
104
u_short sl_sparespercyl; /* spare sectors per cylinder */
usr.sbin/mksuncd/mksuncd.c
106
u_short sl_interleave; /* interleave factor */
usr.sbin/mksuncd/mksuncd.c
107
u_short sl_ncylinders; /* data cylinders */
usr.sbin/mksuncd/mksuncd.c
108
u_short sl_acylinders; /* alternate cylinders */
usr.sbin/mksuncd/mksuncd.c
109
u_short sl_ntracks; /* tracks per cylinder */
usr.sbin/mksuncd/mksuncd.c
110
u_short sl_nsectors; /* sectors per track */
usr.sbin/mksuncd/mksuncd.c
113
u_short sl_magic; /* == SUN_DKMAGIC */
usr.sbin/mksuncd/mksuncd.c
114
u_short sl_cksum; /* xor checksum of all shorts */
usr.sbin/mksuncd/mksuncd.c
262
u_short sum = 0, *sp;
usr.sbin/mksuncd/mksuncd.c
274
sp = (u_short *)slp;
usr.sbin/mksuncd/mksuncd.c
275
for (i = 0; i < sizeof(*slp)/sizeof(u_short); i++) {
usr.sbin/mopd/common/common.h
55
int (*iopen)(char *, int, u_short, int);
usr.sbin/mopd/common/common.h
80
u_short dl_bsz; /* Data Link Buffer Size */
usr.sbin/mopd/common/device.c
69
deviceOpen(char *ifname, u_short proto, int trans)
usr.sbin/mopd/common/dl.c
38
u_short len, tmps, moplen;
usr.sbin/mopd/common/file.c
205
image_type = (u_short)(header[IHD_W_ALIAS+1]*256 + header[IHD_W_ALIAS]);
usr.sbin/mopd/common/file.c
233
image_type = (u_short)(header[IHD_W_ALIAS+1]*256 +
usr.sbin/mopd/common/get.c
117
u_short
usr.sbin/mopd/common/get.c
40
u_short
usr.sbin/mopd/common/get.c
43
u_short ret;
usr.sbin/mopd/common/get.c
50
u_short
usr.sbin/mopd/common/get.c
53
u_short ret;
usr.sbin/mopd/common/get.c
84
u_short ptype;
usr.sbin/mopd/common/get.c
98
u_short *proto, int *len, int trans)
usr.sbin/mopd/common/get.h
34
u_short mopGetShort(u_char *,int *);
usr.sbin/mopd/common/get.h
38
void mopGetHeader(u_char *, int *, u_char **, u_char **, u_short *,
usr.sbin/mopd/common/get.h
40
u_short mopGetLength(u_char *, int);
usr.sbin/mopd/common/pf.c
76
pfInit(char *interface, int mode, u_short protocol, int typ)
usr.sbin/mopd/common/pf.h
34
int pfInit(char *, int, u_short, int);
usr.sbin/mopd/common/print.c
239
u_short proto;
usr.sbin/mopd/common/print.c
298
u_short proto;
usr.sbin/mopd/common/print.c
420
mopPrintInfo(FILE *fd, u_char *pkt, int *idx, u_short moplen, u_char mopcode,
usr.sbin/mopd/common/print.c
423
u_short itype, tmps;
usr.sbin/mopd/common/print.c
95
u_short proto;
usr.sbin/mopd/common/print.h
41
void mopPrintInfo(FILE *, u_char *, int *, u_short, u_char, int);
usr.sbin/mopd/common/put.c
104
mopPutHeader(u_char *pkt, int *idx, u_char *dst, u_char *src, u_short proto,
usr.sbin/mopd/common/put.c
133
mopPutLength(u_char *pkt, int trans, u_short len)
usr.sbin/mopd/common/put.c
40
mopPutShort(u_char *pkt, int *idx, u_short value)
usr.sbin/mopd/common/put.c
48
mopPutNShort(u_char *pkt, int *idx, u_short value)
usr.sbin/mopd/common/put.h
34
void mopPutShort(u_char *, int *, u_short);
usr.sbin/mopd/common/put.h
38
void mopPutHeader(u_char *, int *, u_char *, u_char *, u_short, int);
usr.sbin/mopd/common/put.h
39
void mopPutLength(u_char *, int, u_short);
usr.sbin/mopd/common/rc.c
38
u_short len, tmps, moplen;
usr.sbin/mopd/mopd/mopd.c
168
u_short ptype;
usr.sbin/mopd/mopd/process.c
339
u_char *src, int trans, u_short len)
usr.sbin/mopd/mopd/process.c
342
u_short moplen;
usr.sbin/mopd/mopd/process.c
45
mopProcessInfo(u_char *pkt, int *idx, u_short moplen, struct dllist *dl_rpr,
usr.sbin/mopd/mopd/process.c
466
u_char *src, int trans, u_short len)
usr.sbin/mopd/mopd/process.c
469
u_short tmps, moplen = 0;
usr.sbin/mopd/mopd/process.c
48
u_short itype, tmps;
usr.sbin/mopd/mopd/process.h
34
u_char *, u_char *, int, u_short);
usr.sbin/mopd/mopd/process.h
36
u_char *, u_char *, int, u_short);
usr.sbin/mopd/mopprobe/mopprobe.c
127
u_short ptype, moplen = 0, itype;
usr.sbin/mopd/otherOS/pf-snit.c
155
u_short prot;
usr.sbin/mopd/otherOS/pf-snit.c
158
u_short offset;
usr.sbin/mopd/otherOS/pf-snit.c
161
u_short *fwp = pf.Pf_Filter;
usr.sbin/mopd/otherOS/pf-snit.c
169
offset = ((int)s_offset(struct ether_header *, ether_type))/sizeof(u_short);
usr.sbin/mopd/otherOS/pf-snit.c
81
u_short protocol;
usr.sbin/mrouted/rsrr.h
111
u_short status; /* vif status bitmask */
usr.sbin/mrouted/rsrr.h
141
u_short in_vif; /* incoming vif */
usr.sbin/mrouted/rsrr.h
142
u_short reserved; /* reserved */
usr.sbin/mrouted/vif.c
806
u_short vflags = v->uv_flags;
usr.sbin/mrouted/vif.h
20
u_short uv_flags; /* VIFF_ flags defined below */
usr.sbin/mrouted/vif.h
68
u_short al_old; /* time since heard old report */
usr.sbin/mtree/create.c
279
u_short maxmode;
usr.sbin/ndp/ndp.c
532
ntohs(*(u_short *)&in6->s6_addr[2]);
usr.sbin/ndp/ndp.c
533
*(u_short *)&in6->s6_addr[2] = 0;
usr.sbin/ndp/ndp.c
865
sin->sin6_scope_id = (u_int32_t)ntohs(*(u_short *)
usr.sbin/ndp/ndp.c
867
*(u_short *)&in6->s6_addr[2] = 0;
usr.sbin/npppd/common/radish.h
49
u_short rd_masklim; /* length of mask / 8 : test point */
usr.sbin/npppd/npppd/npppd_subr.c
466
cksum = (u_short) ~acc; \
usr.sbin/npppd/npppd/npppd_subr.c
470
cksum = (u_short) acc; \
usr.sbin/ospf6d/interface.c
203
if_new(u_short ifindex, char *ifname)
usr.sbin/ospf6d/kroute.c
1038
if_deladdr(u_short ifindex, struct sockaddr_in6 *ifa, struct sockaddr_in6 *mask,
usr.sbin/ospf6d/kroute.c
1285
fetchifs(u_short ifindex)
usr.sbin/ospf6d/kroute.c
1354
u_short ifindex = 0;
usr.sbin/ospf6d/kroute.c
1362
if (len < offset + sizeof(u_short) ||
usr.sbin/ospf6d/kroute.c
82
struct iface *kif_update(u_short, int, struct if_data *,
usr.sbin/ospf6d/kroute.c
822
kif_update(u_short ifindex, int flags, struct if_data *ifd,
usr.sbin/ospf6d/kroute.c
84
int kif_validate(u_short);
usr.sbin/ospf6d/kroute.c
851
kif_validate(u_short ifindex)
usr.sbin/ospf6d/kroute.c
90
void if_change(u_short, int, struct if_data *, struct sockaddr_dl *);
usr.sbin/ospf6d/kroute.c
91
void if_newaddr(u_short, struct sockaddr_in6 *,
usr.sbin/ospf6d/kroute.c
924
if_change(u_short ifindex, int flags, struct if_data *ifd,
usr.sbin/ospf6d/kroute.c
93
void if_deladdr(u_short, struct sockaddr_in6 *,
usr.sbin/ospf6d/kroute.c
964
if_newaddr(u_short ifindex, struct sockaddr_in6 *ifa, struct sockaddr_in6 *mask,
usr.sbin/ospf6d/ospf6d.h
405
u_short ifindex;
usr.sbin/ospf6d/ospf6d.h
533
struct iface *if_new(u_short, char *);
usr.sbin/ospf6d/ospf6d.h
561
int fetchifs(u_short);
usr.sbin/ospfd/in_cksum.c
64
sum += htons(*(u_short *)cp);
usr.sbin/ospfd/kroute.c
101
void if_deladdr(u_short, struct sockaddr_in *, struct sockaddr_in *,
usr.sbin/ospfd/kroute.c
1055
if_change(u_short ifindex, int flags, struct if_data *ifd,
usr.sbin/ospfd/kroute.c
108
int fetchifs(u_short);
usr.sbin/ospfd/kroute.c
1094
if_newaddr(u_short ifindex, struct sockaddr_in *ifa, struct sockaddr_in *mask,
usr.sbin/ospfd/kroute.c
1129
if_deladdr(u_short ifindex, struct sockaddr_in *ifa, struct sockaddr_in *mask,
usr.sbin/ospfd/kroute.c
1322
fetchifs(u_short ifindex)
usr.sbin/ospfd/kroute.c
1390
u_short ifindex = 0;
usr.sbin/ospfd/kroute.c
1399
if (len < offset + sizeof(u_short) ||
usr.sbin/ospfd/kroute.c
838
kif_find(u_short ifindex)
usr.sbin/ospfd/kroute.c
86
struct kif_node *kif_find(u_short);
usr.sbin/ospfd/kroute.c
87
struct kif_node *kif_insert(u_short);
usr.sbin/ospfd/kroute.c
872
kif_insert(u_short ifindex)
usr.sbin/ospfd/kroute.c
89
struct kif *kif_update(u_short, int, struct if_data *,
usr.sbin/ospfd/kroute.c
91
int kif_validate(u_short);
usr.sbin/ospfd/kroute.c
916
kif_update(u_short ifindex, int flags, struct if_data *ifd,
usr.sbin/ospfd/kroute.c
949
kif_validate(u_short ifindex)
usr.sbin/ospfd/kroute.c
98
void if_change(u_short, int, struct if_data *, struct sockaddr_dl *);
usr.sbin/ospfd/kroute.c
99
void if_newaddr(u_short, struct sockaddr_in *, struct sockaddr_in *,
usr.sbin/ospfd/ospfd.h
420
u_short ifindex;
usr.sbin/portmap/portmap.c
581
u_short port;
usr.sbin/pppd/cbcp.c
121
u_short len;
usr.sbin/pppd/ccp.h
45
u_short bsd_bits; /* # bits/code for BSD Compress */
usr.sbin/pppd/ccp.h
46
u_short deflate_size; /* lg(window size) for Deflate */
usr.sbin/pppd/demand.c
162
static u_short fcstab[256] = {
usr.sbin/pppd/fsm.h
48
#define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
usr.sbin/pppd/ipcp.c
1357
u_short cishort;
usr.sbin/pppd/ipcp.c
405
u_short cilen, citype, cishort;
usr.sbin/pppd/ipcp.c
494
u_short cishort;
usr.sbin/pppd/ipcp.c
662
u_short cishort;
usr.sbin/pppd/ipcp.c
756
u_short cilen, citype; /* Parsed len, type */
usr.sbin/pppd/ipcp.c
757
u_short cishort; /* Parsed short value */
usr.sbin/pppd/ipcp.h
78
u_short vj_protocol; /* protocol value to use in VJ option */
usr.sbin/pppd/lcp.c
1127
u_short cishort; /* Parsed short value */
usr.sbin/pppd/lcp.c
1532
u_short cishort;
usr.sbin/pppd/lcp.c
361
u_short prot;
usr.sbin/pppd/lcp.c
365
if (len < sizeof (u_short)) {
usr.sbin/pppd/lcp.c
556
u_short cishort;
usr.sbin/pppd/lcp.c
684
u_short cishort;
usr.sbin/pppd/lcp.c
987
u_short cishort;
usr.sbin/pppd/lcp.h
82
u_short mru; /* Value of MRU */
usr.sbin/pppd/main.c
1228
u_short proto;
usr.sbin/pppd/main.c
637
u_short protocol;
usr.sbin/pppd/pppd.h
156
u_short protocol; /* PPP protocol number */
usr.sbin/pppd/upap.h
48
#define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
usr.sbin/radiusctl/parser.h
62
u_short port;
usr.sbin/relayd/check_icmp.c
214
icp->icmp_cksum = in_cksum((u_short *)icp,
usr.sbin/relayd/check_icmp.c
220
icp6->icmp6_cksum = in_cksum((u_short *)icp6,
usr.sbin/relayd/check_icmp.c
384
in_cksum(u_short *addr, int len)
usr.sbin/relayd/check_icmp.c
387
u_short *w = addr;
usr.sbin/relayd/check_icmp.c
389
u_short answer = 0;
usr.sbin/relayd/check_icmp.c
47
int in_cksum(u_short *, int);
usr.sbin/relayd/parse.y
3508
return (htons((u_short)llval));
usr.sbin/ripd/interface.c
156
if_find_index(u_short ifindex)
usr.sbin/ripd/kroute.c
1034
u_short ifindex = 0;
usr.sbin/ripd/kroute.c
1052
if (lim < next + sizeof(u_short) ||
usr.sbin/ripd/kroute.c
653
if_change(u_short ifindex, int flags, struct if_data *ifd)
usr.sbin/ripd/kroute.c
84
void if_change(u_short, int, struct if_data *);
usr.sbin/ripd/rde.h
37
u_short ifindex;
usr.sbin/ripd/ripd.h
179
u_short ifindex;
usr.sbin/ripd/ripd.h
196
u_short ifindex;
usr.sbin/ripd/ripd.h
248
u_short ifindex;
usr.sbin/ripd/ripd.h
258
u_short ifindex;
usr.sbin/ripd/ripd.h
354
struct iface *if_find_index(u_short);
usr.sbin/route6d/route6d.h
44
u_short rip6_tag;
usr.sbin/tcpdump/addrtoname.c
101
u_short p_proto;
usr.sbin/tcpdump/addrtoname.c
167
addr = ((u_int32_t)*(u_short *)ap << 16) |
usr.sbin/tcpdump/addrtoname.c
168
(u_int32_t)*(u_short *)(ap + 2);
usr.sbin/tcpdump/addrtoname.c
170
addr = ((u_int32_t)*(u_short *)(ap + 2) << 16) |
usr.sbin/tcpdump/addrtoname.c
171
(u_int32_t)*(u_short *)ap;
usr.sbin/tcpdump/addrtoname.c
495
etherproto_string(u_short port)
usr.sbin/tcpdump/addrtoname.c
592
tcpport_string(u_short port)
usr.sbin/tcpdump/addrtoname.c
611
udpport_string(u_short port)
usr.sbin/tcpdump/addrtoname.c
690
u_short p;
usr.sbin/tcpdump/addrtoname.c
725
u_short etype = htons(eproto_db[i].p);
usr.sbin/tcpdump/addrtoname.c
85
u_short e_addr0;
usr.sbin/tcpdump/addrtoname.c
859
dnaddr_string(u_short dnaddr)
usr.sbin/tcpdump/addrtoname.c
86
u_short e_addr1;
usr.sbin/tcpdump/addrtoname.c
87
u_short e_addr2;
usr.sbin/tcpdump/addrtoname.h
37
extern char *etherproto_string(u_short);
usr.sbin/tcpdump/addrtoname.h
38
extern char *tcpport_string(u_short);
usr.sbin/tcpdump/addrtoname.h
39
extern char *udpport_string(u_short);
usr.sbin/tcpdump/appletalk.h
117
u_short net;
usr.sbin/tcpdump/appletalk.h
40
u_short length;
usr.sbin/tcpdump/appletalk.h
41
u_short checksum;
usr.sbin/tcpdump/appletalk.h
42
u_short dstNet;
usr.sbin/tcpdump/appletalk.h
43
u_short srcNet;
usr.sbin/tcpdump/appletalk.h
52
u_short length;
usr.sbin/tcpdump/appletalk.h
80
u_short transID;
usr.sbin/tcpdump/igrp.h
16
u_short ig_as; /* autonomous system number */
usr.sbin/tcpdump/igrp.h
17
u_short ig_ni; /* number of subnet in local net */
usr.sbin/tcpdump/igrp.h
18
u_short ig_ns; /* number of networks in AS */
usr.sbin/tcpdump/igrp.h
19
u_short ig_nx; /* number of networks outside AS */
usr.sbin/tcpdump/igrp.h
20
u_short ig_sum; /* checksum of IGRP header & data */
usr.sbin/tcpdump/interface.h
164
extern char *dnaddr_string(u_short);
usr.sbin/tcpdump/interface.h
180
extern char *dnname_string(u_short);
usr.sbin/tcpdump/interface.h
181
extern char *dnnum_string(u_short);
usr.sbin/tcpdump/interface.h
187
extern int ether_encap_print(u_short, const u_char *, u_int, u_int);
usr.sbin/tcpdump/interface.h
190
extern int pppoe_if_print(u_short, const u_char *, u_int, u_int);
usr.sbin/tcpdump/interface.h
196
extern void bootp_print(const u_char *, u_int, u_short, u_short);
usr.sbin/tcpdump/interface.h
230
extern void netbeui_print(u_short, const u_char *, const u_char *);
usr.sbin/tcpdump/interface.h
284
extern void gtp_print(const u_char *, u_int, u_short, u_short);
usr.sbin/tcpdump/ipx.h
18
u_short cksum; /* Checksum */
usr.sbin/tcpdump/ipx.h
19
u_short length; /* Length, in bytes, including header */
usr.sbin/tcpdump/ipx.h
22
u_short dstNet[2]; /* destination net */
usr.sbin/tcpdump/ipx.h
24
u_short dstSkt; /* destination socket */
usr.sbin/tcpdump/ipx.h
25
u_short srcNet[2]; /* source net */
usr.sbin/tcpdump/ipx.h
27
u_short srcSkt; /* source socket */
usr.sbin/tcpdump/l2tp.h
70
u_short reserved;
usr.sbin/tcpdump/l2tp.h
80
u_short reserved;
usr.sbin/tcpdump/llc.h
41
u_short is_ctl;
usr.sbin/tcpdump/nfsv2.h
127
#define nfstov_mode(a) (fxdr_unsigned(u_short, (a))&07777)
usr.sbin/tcpdump/ntp.h
38
u_short int_part;
usr.sbin/tcpdump/ntp.h
39
u_short fraction;
usr.sbin/tcpdump/ospf.h
102
u_short ls_chksum;
usr.sbin/tcpdump/ospf.h
103
u_short ls_length;
usr.sbin/tcpdump/ospf.h
116
u_short rla_count;
usr.sbin/tcpdump/ospf.h
122
u_short link_tos0metric;
usr.sbin/tcpdump/ospf.h
163
u_short tos_metric;
usr.sbin/tcpdump/ospf.h
174
u_short ospf_len;
usr.sbin/tcpdump/ospf.h
177
u_short ospf_chksum;
usr.sbin/tcpdump/ospf.h
178
u_short ospf_authtype;
usr.sbin/tcpdump/ospf.h
185
u_short hello_helloint;
usr.sbin/tcpdump/ospf.h
96
u_short ls_age;
usr.sbin/tcpdump/print-arp.c
55
u_short pro, hrd, op;
usr.sbin/tcpdump/print-atalk.c
127
u_short snet;
usr.sbin/tcpdump/print-atalk.c
220
u_short snet, u_char snode, u_char skt)
usr.sbin/tcpdump/print-atalk.c
380
nbp_print(const struct atNBP *np, u_int length, u_short snet,
usr.sbin/tcpdump/print-atalk.c
494
u_short snet, u_char snode,
usr.sbin/tcpdump/print-atalk.c
555
ataddr_string(u_short atnet, u_char athost)
usr.sbin/tcpdump/print-atalk.c
77
static void nbp_print(const struct atNBP *, u_int, u_short, u_char, u_char);
usr.sbin/tcpdump/print-atalk.c
81
u_short, u_char, u_char);
usr.sbin/tcpdump/print-atalk.c
84
static const char *ataddr_string(u_short, u_char);
usr.sbin/tcpdump/print-atalk.c
85
static void ddp_print(const u_char *, u_int, int, u_short, u_char, u_char);
usr.sbin/tcpdump/print-atalk.c
97
u_short snet;
usr.sbin/tcpdump/print-atm.c
55
u_short ethertype;
usr.sbin/tcpdump/print-bootp.c
270
u_short us;
usr.sbin/tcpdump/print-bootp.c
51
u_short sport, u_short dport)
usr.sbin/tcpdump/print-carp.c
68
if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0))
usr.sbin/tcpdump/print-decnet.c
852
dnnum_string(u_short dnaddr)
usr.sbin/tcpdump/print-decnet.c
855
int area = (u_short)(dnaddr & AREAMASK) >> AREASHIFT;
usr.sbin/tcpdump/print-decnet.c
867
dnname_string(u_short dnaddr)
usr.sbin/tcpdump/print-domain.c
366
u_short typ, len;
usr.sbin/tcpdump/print-domain.c
662
b2 = EXTRACT_16BITS(((u_short *)np)+1);
usr.sbin/tcpdump/print-ether.c
108
u_short ether_type;
usr.sbin/tcpdump/print-ether.c
218
ether_encap_print(u_short ethertype, const u_char *p,
usr.sbin/tcpdump/print-ether.c
80
u_short extracted_ethertype;
usr.sbin/tcpdump/print-etherip.c
56
extern u_short extracted_ethertype;
usr.sbin/tcpdump/print-fddi.c
260
u_short extracted_ethertype;
usr.sbin/tcpdump/print-gtp.c
298
gtp_print(const u_char *cp, u_int length, u_short sport, u_short dport)
usr.sbin/tcpdump/print-gtp.c
325
gtp_decode_ie(const u_char *cp, u_short version, int len)
usr.sbin/tcpdump/print-gtp.c
485
gtp_v0_print(const u_char *cp, u_int length, u_short sport, u_short dport)
usr.sbin/tcpdump/print-gtp.c
64
void gtp_print(const u_char *, u_int, u_short, u_short);
usr.sbin/tcpdump/print-gtp.c
65
void gtp_decode_ie(const u_char *, u_short, int);
usr.sbin/tcpdump/print-gtp.c
71
void gtp_v0_print(const u_char *, u_int, u_short, u_short);
usr.sbin/tcpdump/print-gtp.c
76
void gtp_v1_print(const u_char *, u_int, u_short, u_short);
usr.sbin/tcpdump/print-gtp.c
878
gtp_v1_print(const u_char *cp, u_int length, u_short sport, u_short dport)
usr.sbin/tcpdump/print-icmp.c
155
u_short ird_lifetime;
usr.sbin/tcpdump/print-icmp.c
376
sum = in_cksum((const u_short *)dp, length, 0);
usr.sbin/tcpdump/print-icmp6.c
121
return in_cksum((u_short *)icmp6, len, sum);
usr.sbin/tcpdump/print-icmp6.c
857
nsrcs = ntohs(*(u_short *)&bp[MLDV2_QUERY_NSRCS]);
usr.sbin/tcpdump/print-ip.c
207
const u_short *sp = (u_short *)bp;
usr.sbin/tcpdump/print-ip.c
614
sum = in_cksum((const u_short *)ip, hlen, 0);
usr.sbin/tcpdump/print-ip6opts.c
71
printf("(rtalert: 0x%04x) ", ntohs(*(u_short *)&bp[i + 2]));
usr.sbin/tcpdump/print-ipsec.c
229
u_short ah_reserved;
usr.sbin/tcpdump/print-ipsec.c
319
u_short ipcomp_cpi;
usr.sbin/tcpdump/print-ipx.c
101
ipx_sap_print((u_short *)datap, length);
usr.sbin/tcpdump/print-ipx.c
104
ipx_rip_print((u_short *)datap, length);
usr.sbin/tcpdump/print-ipx.c
119
ipx_sap_print(const u_short *ipx, u_int length)
usr.sbin/tcpdump/print-ipx.c
171
ipx_rip_print(const u_short *ipx, u_int length)
usr.sbin/tcpdump/print-ipx.c
49
void ipx_sap_print(const u_short *, u_int);
usr.sbin/tcpdump/print-ipx.c
50
void ipx_rip_print(const u_short *, u_int);
usr.sbin/tcpdump/print-ipx.c
93
u_short dstSkt;
usr.sbin/tcpdump/print-krb.c
180
u_short len;
usr.sbin/tcpdump/print-l2tp.c
221
print_short(const u_short *dat)
usr.sbin/tcpdump/print-l2tp.c
238
u_short *ptr = (u_short *)dat;
usr.sbin/tcpdump/print-l2tp.c
249
u_short *ptr = (u_short *)dat;
usr.sbin/tcpdump/print-l2tp.c
303
print_short((u_short *)dat);
usr.sbin/tcpdump/print-l2tp.c
321
print_short((u_short *)dat);
usr.sbin/tcpdump/print-l2tp.c
327
print_short((u_short *)dat);
usr.sbin/tcpdump/print-l2tp.c
339
print_short((u_short *)dat);
usr.sbin/tcpdump/print-l2tp.c
340
print_short((u_short *)(dat + 2));
usr.sbin/tcpdump/print-l2tp.c
356
print_short((u_short *)dat);
usr.sbin/tcpdump/print-l2tp.c
460
u_short *ptr = (u_short *)dat;
usr.sbin/tcpdump/print-l2tp.c
501
u_short *ptr = (u_short *)dat;
usr.sbin/tcpdump/print-l2tp.c
564
const u_short *ptr = (u_short *)dat;
usr.sbin/tcpdump/print-l2tp.c
619
u_short pad, val;
usr.sbin/tcpdump/print-llc.c
64
u_short et;
usr.sbin/tcpdump/print-llc.c
66
u_short control;
usr.sbin/tcpdump/print-mobile.c
101
static u_int16_t mob_in_cksum(u_short *p, int len)
usr.sbin/tcpdump/print-mobile.c
58
static u_int16_t mob_in_cksum(u_short *p, int len);
usr.sbin/tcpdump/print-mobile.c
67
u_short proto,crc;
usr.sbin/tcpdump/print-mobile.c
94
if (mob_in_cksum((u_short *)mob, osp ? 12 : 8)!=0) {
usr.sbin/tcpdump/print-null.c
114
u_short ether_type;
usr.sbin/tcpdump/print-null.c
115
extern u_short extracted_ethertype;
usr.sbin/tcpdump/print-ppp.c
1256
pppoe_if_print(u_short ethertype, const u_char *p, u_int length, u_int l)
usr.sbin/tcpdump/print-ppp.c
66
u_short protocol;
usr.sbin/tcpdump/print-rip.c
104
u_short family;
usr.sbin/tcpdump/print-rip.c
44
u_short rip_zero2; /* unused */
usr.sbin/tcpdump/print-rip.c
56
u_short rip_family;
usr.sbin/tcpdump/print-rip.c
57
u_short rip_tag;
usr.sbin/tcpdump/print-rip.c
75
u_short family;
usr.sbin/tcpdump/print-smb.c
800
void netbeui_print(u_short control, const uchar *data, const uchar *maxbuf)
usr.sbin/tcpdump/print-snmp.c
312
u_short id;
usr.sbin/tcpdump/print-tcp.c
147
return in_cksum((u_short *)tp, len, sum);
usr.sbin/tcpdump/print-tcp.c
176
return in_cksum((u_short *)tp, len, sum);
usr.sbin/tcpdump/print-udp.c
115
u_int ts = *(u_short *)hdr;
usr.sbin/tcpdump/print-udp.c
210
u_short flags;
usr.sbin/tcpdump/print-udp.c
63
u_short rh_flags; /* T:2 P:1 CNT:5 PT:8 */
usr.sbin/tcpdump/print-udp.c
64
u_short rh_len; /* length of message (in words) */
usr.sbin/tcpdump/print-vrrp.c
97
if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0))
usr.sbin/tcpdump/print-wb.c
145
u_short nid;
usr.sbin/tcpdump/print-wb.c
146
u_short rsvd;
usr.sbin/tcpdump/print-wb.c
59
u_short ph_version; /* version number */
usr.sbin/tcpdump/print-wb.c
84
u_short dh_len; /* body length */
usr.sbin/tcpdump/radius.h
109
u_short len;
usr.sbin/tcpdump/route6d.h
10
u_short rip6_tag;
usr.sbin/tcpdump/tcpdump.c
652
u_short sp;
usr.sbin/tcpdump/tcpdump.c
655
nshorts = (u_int) length / sizeof(u_short);
usr.sbin/tftpd/tftpd.c
1157
dp->th_opcode = htons((u_short)DATA);
usr.sbin/tftpd/tftpd.c
1224
ap->th_opcode = ntohs((u_short)ap->th_opcode);
usr.sbin/tftpd/tftpd.c
1225
ap->th_block = ntohs((u_short)ap->th_block);
usr.sbin/tftpd/tftpd.c
1297
ap->th_opcode = htons((u_short)ACK);
usr.sbin/tftpd/tftpd.c
1354
dp->th_opcode = ntohs((u_short)dp->th_opcode);
usr.sbin/tftpd/tftpd.c
1355
dp->th_block = ntohs((u_short)dp->th_block);
usr.sbin/tftpd/tftpd.c
1435
dp->th_opcode = ntohs((u_short)dp->th_opcode);
usr.sbin/tftpd/tftpd.c
1436
dp->th_block = ntohs((u_short)dp->th_block);
usr.sbin/tftpd/tftpd.c
1477
tp->th_opcode = htons((u_short)ERROR);
usr.sbin/tftpd/tftpd.c
1478
tp->th_code = htons((u_short)error);
usr.sbin/tftpd/tftpd.c
1520
tp->th_opcode = htons((u_short)OACK);
usr.sbin/tftpd/tftpd.c
1611
ap->th_opcode = ntohs((u_short)ap->th_opcode);
usr.sbin/tftpd/tftpd.c
1612
ap->th_block = ntohs((u_short)ap->th_block);
usr.sbin/traceroute/traceroute.h
113
u_short ident;
usr.sbin/traceroute/worker.c
103
u_short in_cksum(u_short *, int);
usr.sbin/traceroute/worker.c
165
if (exthdr.ieh_cksum && in_cksum((u_short *)buf, cc))
usr.sbin/traceroute/worker.c
331
up->uh_ulen = htons((u_short)(datalen - sizeof(struct ip) -
usr.sbin/traceroute/worker.c
362
icmpp->icmp_cksum = in_cksum((u_short *)icmpp,
usr.sbin/traceroute/worker.c
884
u_short
usr.sbin/traceroute/worker.c
885
in_cksum(u_short *addr, int len)
usr.sbin/traceroute/worker.c
887
u_short *w = addr, answer;
usr.sbin/ypbind/ypbind.c
863
raddr.sin_port = htons((u_short)rmtcr_port);
usr.sbin/ypbind/ypbind.c
937
u_short ypserv_tcp, ypserv_udp;
usr.sbin/ypldap/yp.c
195
u_short ypbind, ypserv_tcp, ypserv_udp;
usr.sbin/ypserv/common/yplib_host.c
46
yp_bind_host(char *server, u_long program, u_long version, u_short port,
usr.sbin/ypserv/common/yplib_host.h
49
u_short port, int usetcp);