Symbol: u_short
bin/pax/cpio.c
826
if (((u_short)SHRT_EXT(blk)) == MAGIC)
bin/pax/cpio.c
828
if (((u_short)RSHRT_EXT(blk)) == MAGIC) {
bin/ps/print.c
695
printf(ofmt, vent->width, *(const u_short *)bp);
crypto/openssh/channels.c
4022
const char *host, u_short port)
crypto/openssh/channels.c
4077
const char *lhost, u_short lport, int cport,
crypto/openssh/channels.c
4363
const char *requestedhost, u_short requestedport, int translate)
crypto/openssh/channels.c
4403
const char *host, u_short port)
crypto/openssh/channels.c
4748
u_short listen_port, char *ctype, char *rname)
crypto/openssh/channels.c
4798
channel_connect_to_port(struct ssh *ssh, const char *host, u_short port,
crypto/openssh/channels.c
5000
u_short port;
crypto/openssh/channels.h
356
Channel *channel_connect_to_port(struct ssh *, const char *, u_short,
crypto/openssh/channels.h
362
u_short, char *, char *);
crypto/openssh/misc.c
705
put_host_port(const char *host, u_short port)
crypto/openssh/misc.h
73
char *put_host_port(const char *, u_short);
crypto/openssh/sshconnect.c
115
const char *host_arg, u_short port, const char *proxy_command)
crypto/openssh/sshconnect.c
1592
struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms,
crypto/openssh/sshconnect.c
197
u_short port, const char *proxy_command)
crypto/openssh/sshconnect.c
449
struct sockaddr_storage *hostaddr, u_short port, int connection_attempts,
crypto/openssh/sshconnect.c
547
struct addrinfo *addrs, struct sockaddr_storage *hostaddr, u_short port,
crypto/openssh/sshconnect.c
623
u_short port, char **hostfile_hostname, char **hostfile_ipaddr)
crypto/openssh/sshconnect.c
958
struct sockaddr *hostaddr, u_short port,
crypto/openssh/sshconnect.h
71
struct addrinfo *, struct sockaddr_storage *, u_short,
crypto/openssh/sshconnect.h
76
struct sockaddr *, u_short, struct passwd *, int,
crypto/openssh/sshconnect.h
82
void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short,
crypto/openssh/sshconnect.h
85
void ssh_kex2(struct ssh *ssh, char *, struct sockaddr *, u_short,
crypto/openssh/sshconnect2.c
120
order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port,
crypto/openssh/sshconnect2.c
218
ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port,
games/bcd/bcd.c
74
static const u_short holes[256] = {
games/gomoku/gomoku.h
161
u_short s;
games/gomoku/gomoku.h
182
u_short c_vertex; /* C:intersection or F:frame head */
games/hunt/huntd/driver.c
430
if (test_port.sin_port != htons((u_short) Server_port)) {
games/hunt/huntd/driver.c
438
test_port.sin_port = htons((u_short) Server_port);
games/hunt/huntd/driver.c
63
u_short sock_port; /* port # of tcp listen socket */
games/hunt/huntd/driver.c
64
u_short stat_port; /* port # of statistics tcp socket */
include/protocols/talkd.h
60
u_short sa_family;
include/protocols/timed.h
46
u_short tsp_seq;
include/resolv.h
150
u_short id; /* current message id */
include/resolv.h
461
u_short, u_short, u_char *);
include/rpc/clnt.h
123
u_short rt_srtt; /* smoothed round-trip time */
include/rpc/clnt.h
124
u_short rt_deviate; /* estimated deviation */
include/rpc/pmap_clnt.h
69
bool_t pmap_set(u_long, u_long, int, u_short);
include/rpc/pmap_clnt.h
77
u_short pmap_getport(struct sockaddr_in *, u_long, u_long, u_int);
include/rpc/pmap_prot.h
75
#define PMAPPORT ((u_short)111)
include/rpc/rpc_msg.h
45
#define RPC_SERVICE_PORT ((u_short) 2048)
include/rpc/svc.h
92
u_short xp_port; /* associated port number */
include/rpc/xdr.h
270
#define IXDR_GET_U_SHORT(buf) ((u_short)IXDR_GET_LONG(buf))
include/rpc/xdr.h
288
extern bool_t xdr_u_short(XDR *, u_short *);
include/rpcsvc/yp_prot.h
198
u_short dom_server_port;
include/rpcsvc/yp_prot.h
201
u_short dom_local_port;
include/rpcsvc/yp_prot.h
237
u_short ypbind_binding_port;
lib/libalias/alias.c
1010
u_short alias_port;
lib/libalias/alias.c
1116
(u_short *) &original_address,
lib/libalias/alias.c
1117
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
1134
(u_short *) &alias_address,
lib/libalias/alias.c
1135
(u_short *) &pip->ip_src,
lib/libalias/alias.c
1217
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
1218
(u_short *) &fpip->ip_dst,
lib/libalias/alias.c
1439
u_short original_port;
lib/libalias/alias.c
1460
(u_short *) &original_address,
lib/libalias/alias.c
1461
(u_short *) &pip->ip_src,
lib/libalias/alias.c
1477
u_short original_id;
lib/libalias/alias.c
1491
(u_short *) &original_address,
lib/libalias/alias.c
1492
(u_short *) &pip->ip_src,
lib/libalias/alias.c
295
u_short original_id;
lib/libalias/alias.c
314
(u_short *) &original_address,
lib/libalias/alias.c
315
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
367
u_short original_port;
lib/libalias/alias.c
385
(u_short *) &original_address,
lib/libalias/alias.c
386
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
399
u_short original_id;
lib/libalias/alias.c
417
(u_short *) &original_address,
lib/libalias/alias.c
418
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
486
u_short alias_id;
lib/libalias/alias.c
505
(u_short *) &alias_address,
lib/libalias/alias.c
506
(u_short *) &pip->ip_src,
lib/libalias/alias.c
559
u_short alias_port;
lib/libalias/alias.c
577
(u_short *) &alias_address,
lib/libalias/alias.c
578
(u_short *) &pip->ip_src,
lib/libalias/alias.c
592
u_short alias_id;
lib/libalias/alias.c
610
(u_short *) &alias_address,
lib/libalias/alias.c
611
(u_short *) &pip->ip_src,
lib/libalias/alias.c
688
(u_short *) &original_address,
lib/libalias/alias.c
689
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
722
(u_short *) &alias_address,
lib/libalias/alias.c
723
(u_short *) &pip->ip_src,
lib/libalias/alias.c
752
u_short alias_port;
lib/libalias/alias.c
786
(u_short *) &original_address,
lib/libalias/alias.c
787
(u_short *) &pip->ip_dst,
lib/libalias/alias.c
819
u_short alias_port;
lib/libalias/alias.c
863
(u_short *) &alias_address,
lib/libalias/alias.c
864
(u_short *) &pip->ip_src,
lib/libalias/alias.c
892
u_short alias_port;
lib/libalias/alias.c
893
u_short proxy_port;
lib/libalias/alias.c
970
u_short dest_port;
lib/libalias/alias.c
971
u_short proxy_server_port;
lib/libalias/alias_db.c
1139
u_short src_port,
lib/libalias/alias_db.c
1140
u_short dst_port,
lib/libalias/alias_db.c
1163
u_short src_port,
lib/libalias/alias_db.c
1164
u_short dst_port,
lib/libalias/alias_db.c
1218
u_short src_port,
lib/libalias/alias_db.c
1219
u_short dst_port,
lib/libalias/alias_db.c
1249
u_short dst_port,
lib/libalias/alias_db.c
1250
u_short alias_port,
lib/libalias/alias_db.c
1351
u_short src_port;
lib/libalias/alias_db.c
1374
u_short dst_port,
lib/libalias/alias_db.c
1375
u_short alias_port,
lib/libalias/alias_db.c
1424
u_short id_alias,
lib/libalias/alias_db.c
1449
u_short id,
lib/libalias/alias_db.c
1474
u_short ip_id)
lib/libalias/alias_db.c
1496
u_short ip_id)
lib/libalias/alias_db.c
1506
u_short ip_id)
lib/libalias/alias_db.c
1516
u_short ip_id)
lib/libalias/alias_db.c
1577
u_short dst_port,
lib/libalias/alias_db.c
1578
u_short alias_port,
lib/libalias/alias_db.c
1619
u_short src_port,
lib/libalias/alias_db.c
1620
u_short dst_port,
lib/libalias/alias_db.c
1751
u_short src_port,
lib/libalias/alias_db.c
1752
u_short alias_port,
lib/libalias/alias_db.c
1985
u_short
lib/libalias/alias_db.c
1992
u_short
lib/libalias/alias_db.c
1999
static u_short
lib/libalias/alias_db.c
2028
u_short
lib/libalias/alias_db.c
2036
SetProxyPort(struct alias_link *link, u_short port)
lib/libalias/alias_db.c
2364
PacketAliasRedirectPort(struct in_addr src_addr, u_short src_port,
lib/libalias/alias_db.c
2365
struct in_addr dst_addr, u_short dst_port,
lib/libalias/alias_db.c
2366
struct in_addr alias_addr, u_short alias_port,
lib/libalias/alias_db.c
2409
PacketAliasAddServer(struct alias_link *link, struct in_addr addr, u_short port)
lib/libalias/alias_db.c
279
u_short port;
lib/libalias/alias_db.c
289
u_short src_port;
lib/libalias/alias_db.c
290
u_short dst_port;
lib/libalias/alias_db.c
291
u_short alias_port;
lib/libalias/alias_db.c
292
u_short proxy_port;
lib/libalias/alias_db.c
421
static u_int StartPointIn(struct in_addr, u_short, int);
lib/libalias/alias_db.c
424
u_short, u_short, int);
lib/libalias/alias_db.c
443
u_short alias_port,
lib/libalias/alias_db.c
458
u_short src_port, u_short dst_port, int link_type)
lib/libalias/alias_db.c
545
static u_short GetSocket(u_short, int *, int);
lib/libalias/alias_db.c
555
u_short, u_short, int, int);
lib/libalias/alias_db.c
560
u_short, u_short, int, int);
lib/libalias/alias_db.c
563
FindLinkOut(struct in_addr, struct in_addr, u_short, u_short, int, int);
lib/libalias/alias_db.c
566
FindLinkIn(struct in_addr, struct in_addr, u_short, u_short, int, int);
lib/libalias/alias_db.c
589
u_short port_sys;
lib/libalias/alias_db.c
590
u_short port_net;
lib/libalias/alias_db.c
632
link->alias_port = (u_short) alias_port_param;
lib/libalias/alias_db.c
697
static u_short
lib/libalias/alias_db.c
698
GetSocket(u_short port_net, int *sockfd, int link_type)
lib/libalias/alias_db.c
756
u_short src_port,
lib/libalias/alias_db.c
757
u_short dst_port,
lib/libalias/alias_db.c
758
u_short port_count,
lib/libalias/alias_db.c
764
u_short port_sys;
lib/libalias/alias_db.c
990
u_short src_port,
lib/libalias/alias_db.c
991
u_short dst_port,
lib/libalias/alias_ftp.c
101
static u_short true_port; /* in host byte order. */
lib/libalias/alias_ftp.c
171
u_short port;
lib/libalias/alias_ftp.c
237
u_short port;
lib/libalias/alias_ftp.c
324
u_short port;
lib/libalias/alias_ftp.c
389
u_short port;
lib/libalias/alias_ftp.c
493
u_short alias_port;
lib/libalias/alias_ftp.c
555
u_short new_len;
lib/libalias/alias_irc.c
255
u_short alias_port; /* Port given by aliasing */
lib/libalias/alias_irc.c
313
u_short new_len;
lib/libalias/alias_irc.c
75
u_short true_port;
lib/libalias/alias_local.h
101
AddFragmentPtrLink(struct in_addr _dst_addr, u_short _ip_id);
lib/libalias/alias_local.h
103
FindFragmentPtr(struct in_addr _dst_addr, u_short _ip_id);
lib/libalias/alias_local.h
112
u_short _dst_port, u_short _alias_port, u_char _proto, int _create);
lib/libalias/alias_local.h
115
u_short _src_port, u_short _dst_port, u_char _proto, int _create);
lib/libalias/alias_local.h
133
u_short _src_port, u_short _alias_port, u_char _proto);
lib/libalias/alias_local.h
141
u_short _src_port, u_short _dst_port, u_short _port_count,
lib/libalias/alias_local.h
160
u_short GetOriginalPort(struct alias_link *_link);
lib/libalias/alias_local.h
161
u_short GetAliasPort(struct alias_link *_link);
lib/libalias/alias_local.h
165
u_short GetProxyPort(struct alias_link *_link);
lib/libalias/alias_local.h
166
void SetProxyPort(struct alias_link *_link, u_short _port);
lib/libalias/alias_local.h
207
struct in_addr *_alias_address, u_short _alias_port);
lib/libalias/alias_local.h
209
struct in_addr *_alias_address, u_short *_alias_port,
lib/libalias/alias_local.h
210
struct in_addr *_original_address, u_short *_original_port);
lib/libalias/alias_local.h
218
u_short *_proxy_server_port);
lib/libalias/alias_local.h
67
cksum = (u_short) ~acc; \
lib/libalias/alias_local.h
71
cksum = (u_short) acc; \
lib/libalias/alias_local.h
82
u_short IpChecksum(struct ip *_pip);
lib/libalias/alias_local.h
83
u_short TcpChecksum(struct ip *_pip);
lib/libalias/alias_local.h
84
void DifferentialChecksum(u_short *_cksum, u_short *_new, u_short *_old,
lib/libalias/alias_local.h
90
u_short _id_alias, int _create);
lib/libalias/alias_local.h
93
u_short _id, int _create);
lib/libalias/alias_local.h
96
u_short _ip_id);
lib/libalias/alias_local.h
99
u_short _ip_id);
lib/libalias/alias_nbt.c
204
u_short alias_port
lib/libalias/alias_nbt.c
247
u_short *sptr;
lib/libalias/alias_nbt.c
250
sptr = (u_short *) &(ndh->source_ip);
lib/libalias/alias_nbt.c
253
sptr = (u_short *) alias_address;
lib/libalias/alias_nbt.c
271
u_short type; /* The type of Request */
lib/libalias/alias_nbt.c
272
u_short class; /* The class of Request */
lib/libalias/alias_nbt.c
277
u_short count,
lib/libalias/alias_nbt.c
320
u_short type;
lib/libalias/alias_nbt.c
321
u_short class;
lib/libalias/alias_nbt.c
323
u_short rdlen;
lib/libalias/alias_nbt.c
328
u_short g:1, ont:2, resv:13;
lib/libalias/alias_nbt.c
339
u_short bcount;
lib/libalias/alias_nbt.c
365
u_short *sptr;
lib/libalias/alias_nbt.c
367
sptr = (u_short *) &(nb->addr);
lib/libalias/alias_nbt.c
370
sptr = (u_short *) &(nbtarg->newaddr);
lib/libalias/alias_nbt.c
408
u_short bcount;
lib/libalias/alias_nbt.c
433
u_short *sptr;
lib/libalias/alias_nbt.c
435
sptr = (u_short *) &(a->addr); /* Old */
lib/libalias/alias_nbt.c
438
sptr = (u_short *) &nbtarg->newaddr; /* New */
lib/libalias/alias_nbt.c
455
u_short opcode:4, flags:8, resv:4;
lib/libalias/alias_nbt.c
465
u_short bcount;
lib/libalias/alias_nbt.c
498
u_short bcount;
lib/libalias/alias_nbt.c
519
u_short numnames;
lib/libalias/alias_nbt.c
529
u_short bcount;
lib/libalias/alias_nbt.c
548
u_short count,
lib/libalias/alias_nbt.c
59
u_short oldport;
lib/libalias/alias_nbt.c
61
u_short newport;
lib/libalias/alias_nbt.c
62
u_short *uh_sum;
lib/libalias/alias_nbt.c
620
u_short *alias_port,
lib/libalias/alias_nbt.c
622
u_short *original_port )
lib/libalias/alias_nbt.c
68
u_short id;
lib/libalias/alias_nbt.c
70
u_short source_port;
lib/libalias/alias_nbt.c
71
u_short len;
lib/libalias/alias_nbt.c
72
u_short offset;
lib/libalias/alias_nbt.c
82
u_short nametrid;
lib/libalias/alias_nbt.c
83
u_short dir:1, opcode:4, nmflags:7, rcode:4;
lib/libalias/alias_nbt.c
84
u_short qdcount;
lib/libalias/alias_nbt.c
85
u_short ancount;
lib/libalias/alias_nbt.c
86
u_short nscount;
lib/libalias/alias_nbt.c
87
u_short arcount;
lib/libalias/alias_pptp.c
331
(u_short *)&alias_addr,
lib/libalias/alias_pptp.c
332
(u_short *)&pip->ip_src,
lib/libalias/alias_pptp.c
362
(u_short *)&src_addr,
lib/libalias/alias_pptp.c
363
(u_short *)&pip->ip_dst,
lib/libalias/alias_proxy.c
412
u_short *sptr;
lib/libalias/alias_proxy.c
414
sptr = (u_short *) option;
lib/libalias/alias_proxy.c
419
sptr = (u_short *) pip;
lib/libalias/alias_proxy.c
452
u_short *proxy_server_port)
lib/libalias/alias_proxy.c
454
u_short dst_port;
lib/libalias/alias_proxy.c
467
u_short proxy_port;
lib/libalias/alias_proxy.c
95
u_short proxy_port;
lib/libalias/alias_proxy.c
96
u_short server_port;
lib/libalias/alias_smedia.c
148
u_short p[2], new_len;
lib/libalias/alias_smedia.c
149
u_short sport, eport, base_port;
lib/libalias/alias_smedia.c
150
u_short salias = 0, ealias = 0, base_alias = 0;
lib/libalias/alias_smedia.c
328
u_short msg_id, msg_len;
lib/libalias/alias_smedia.c
330
u_short alias_port, port;
lib/libalias/alias_util.c
104
ptr = (u_short *) tc;
lib/libalias/alias_util.c
123
ptr = (u_short *) &(pip->ip_dst);
lib/libalias/alias_util.c
126
ptr = (u_short *) &(pip->ip_src);
lib/libalias/alias_util.c
129
sum += htons((u_short) ntcp);
lib/libalias/alias_util.c
130
sum += htons((u_short) pip->ip_p);
lib/libalias/alias_util.c
137
return((u_short) ~sum);
lib/libalias/alias_util.c
142
DifferentialChecksum(u_short *cksum, u_short *new, u_short *old, int n)
lib/libalias/alias_util.c
159
*cksum = (u_short) ~accumulate;
lib/libalias/alias_util.c
165
*cksum = (u_short) accumulate;
lib/libalias/alias_util.c
61
u_short
lib/libalias/alias_util.c
62
PacketAliasInternetChecksum(u_short *ptr, int nbytes)
lib/libalias/alias_util.c
84
u_short
lib/libalias/alias_util.c
87
return( PacketAliasInternetChecksum((u_short *) pip,
lib/libalias/alias_util.c
92
u_short
lib/libalias/alias_util.c
95
u_short *ptr;
lib/libc/gmon/gmon.c
97
p->kcount = (u_short *)cp;
lib/libc/gmon/gmon.c
99
p->froms = (u_short *)cp;
lib/libc/gmon/mcount.c
55
u_short *frompcindex;
lib/libc/net/getifaddrs.c
90
u_short idx = 0;
lib/libc/net/getnameinfo.c
112
u_short si_port;
lib/libc/net/getnameinfo.c
122
u_short port;
lib/libc/net/rcmd.c
321
u_short *sport;
lib/libc/net/rcmd.c
347
sin.sin_port = htons((u_short)*alport);
lib/libc/resolv/res_mkquery.c
265
u_short code, /*%< OPTION-CODE */
lib/libc/resolv/res_mkquery.c
266
u_short len, /*%< OPTION-LENGTH */
lib/libc/resolv/res_send.c
632
u_short len;
lib/libc/resolv/res_send.c
720
ns_put16((u_short)buflen, (u_char*)&len);
lib/libc/rpc/clnt_bcast.c
588
htons((u_short)port);
lib/libc/rpc/pmap_clnt.c
60
pmap_set(u_long program, u_long version, int protocol, u_short port)
lib/libc/rpc/pmap_getport.c
65
u_short
lib/libc/rpc/pmap_getport.c
69
u_short port = 0;
lib/libc/rpc/rpc_soc.c
108
u_short sport;
lib/libc/rpc/rpcb_clnt.c
755
u_short port = 0;
lib/libc/rpc/svc_vc.c
152
xprt->xp_port = (u_short)-1; /* It is the rendezvouser */
lib/libc/stdio/vfprintf.c
404
flags&SHORTINT ? (u_long)(u_short)GETARG(int) : \
lib/libc/stdio/vfwprintf.c
481
flags&SHORTINT ? (u_long)(u_short)GETARG(int) : \
lib/libc/sysvipc/sysvipc_msg.h
35
u_short msg_ts; /* size of this message */
lib/libc/sysvipc/sysvipc_sem.h
28
u_short semval; /* semaphore value */
lib/libc/sysvipc/sysvipc_sem.h
30
u_short semncnt; /* # awaiting semval > cval */
lib/libc/sysvipc/sysvipc_sem.h
31
u_short semzcnt; /* # awaiting semval = 0 */
lib/libc/sysvipc/sysvipc_sem.h
42
u_short sem_nsems; /* number of sems in set */
lib/libc/xdr/xdr.c
313
xdr_u_short(XDR *xdrs, u_short *usp)
lib/libc/xdr/xdr.c
327
*usp = (u_short) l;
lib/libc/yp/yplib.c
394
u_short ypb_port;
lib/libc/yp/yplib.c
523
*(u_short *)&ypbr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port;
lib/libc/yp/yplib.c
79
u_short dom_server_port;
lib/libc/yp/yplib.c
82
u_short dom_local_port; /* now I finally know what this is for. */
lib/libcompat/4.3/rexec.c
307
u_short port = 0;
lib/libcompat/4.3/rexec.c
441
u_short port;
lib/libcompat/4.3/rexec.c
494
port = ntohs((u_short)sin2.sin_port);
lib/libfetch/ftp.c
787
u_short p;
lib/libipfw3/basic/ipfw3_basic.c
310
sa->sin_port = (u_short)port;
lib/libssh/openbsd-compat/glob.c
115
typedef u_short Char;
lib/libutil/login_cap.h
80
u_short lt_start; /* Start time */
lib/libutil/login_cap.h
81
u_short lt_end; /* End time */
lib/libutil/login_times.c
117
u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min);
lib/libutil/login_times.c
47
parse_time(char * ptr, u_short * t)
lib/libutil/login_times.c
49
u_short val;
lib/libutil/login_times.c
52
val = (u_short)(val * 10 + (*ptr - '0'));
lib/libutil/login_times.c
54
*t = (u_short)((val / 100) * 60 + (val % 100));
lib/libutil/realhostname.c
43
u_short si_port;
libexec/bootpd/bootpd.c
1011
u_short port = bootpc_port;
libexec/bootpd/bootpd.c
125
u_short bootps_port, bootpc_port;
libexec/bootpd/bootpd.c
440
bootps_port = ntohs((u_short) servp->s_port);
libexec/bootpd/bootpd.c
442
bootps_port = (u_short) IPPORT_BOOTPS;
libexec/bootpd/bootpd.c
472
bootpc_port = (u_short) IPPORT_BOOTPC;
libexec/bootpd/bootpgw/bootpgw.c
102
u_short bootps_port, bootpc_port;
libexec/bootpd/bootpgw/bootpgw.c
396
bootps_port = ntohs((u_short) servp->s_port);
libexec/bootpd/bootpgw/bootpgw.c
398
bootps_port = (u_short) IPPORT_BOOTPS;
libexec/bootpd/bootpgw/bootpgw.c
427
bootpc_port = (u_short) IPPORT_BOOTPC;
libexec/bootpd/bootpgw/bootpgw.c
517
u_short secs;
libexec/bootpd/tools/bootptest/bootptest.c
243
bootps_port = ntohs((u_short) sep->s_port);
libexec/bootpd/tools/bootptest/bootptest.c
247
bootps_port = (u_short) IPPORT_BOOTPS;
libexec/bootpd/tools/bootptest/bootptest.c
282
bootpc_port = (u_short) IPPORT_BOOTPC;
libexec/bootpd/tools/bootptest/bootptest.c
91
u_short bootps_port, bootpc_port;
libexec/bootpd/tools/bootptest/print-bootp.c
280
u_short us;
libexec/bootpd/tools/bootptest/print-bootp.c
56
bootp_print(struct bootp *bp, int length, u_short sport, u_short dport)
libexec/ftpd/extern.h
78
u_short si_port;
libexec/rtld-elf/malloc.c
212
*(u_short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
libexec/rtld-elf/malloc.c
295
ASSERT(*(u_short *)((caddr_t)(op + 1) + op->ov_size) == RMAGIC);
libexec/rtld-elf/malloc.c
370
*(u_short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;
libexec/rtld-elf/malloc.c
78
u_short ovu_rmagic; /* range magic number */
libexec/rtld-elf/malloc.c
92
#define RSLOP sizeof (u_short)
libexec/rtld-elf/rtld_printf.c
348
num = (u_short)va_arg(ap, int);
libexec/tftpd/tftpd.c
596
dp->th_opcode = htons((u_short)DATA);
libexec/tftpd/tftpd.c
597
dp->th_block = htons((u_short)block);
libexec/tftpd/tftpd.c
625
ap->th_opcode = ntohs((u_short)ap->th_opcode);
libexec/tftpd/tftpd.c
626
ap->th_block = ntohs((u_short)ap->th_block);
libexec/tftpd/tftpd.c
671
ap->th_opcode = htons((u_short)ACK);
libexec/tftpd/tftpd.c
672
ap->th_block = htons((u_short)block);
libexec/tftpd/tftpd.c
689
dp->th_opcode = ntohs((u_short)dp->th_opcode);
libexec/tftpd/tftpd.c
690
dp->th_block = ntohs((u_short)dp->th_block);
libexec/tftpd/tftpd.c
714
ap->th_opcode = htons((u_short)ACK); /* send the "final" ack */
libexec/tftpd/tftpd.c
715
ap->th_block = htons((u_short)(block));
libexec/tftpd/tftpd.c
776
tp->th_opcode = htons((u_short)ERROR);
libexec/tftpd/tftpd.c
777
tp->th_code = htons((u_short)error);
libexec/tftpd/tftpd.c
827
tp->th_opcode = htons((u_short)OACK);
libexec/tftpd/tftpd.c
859
ap->th_opcode = ntohs((u_short)ap->th_opcode);
libexec/tftpd/tftpd.c
860
ap->th_block = ntohs((u_short)ap->th_block);
libexec/ypxfr/ypxfr_main.c
248
ypxfr_callback_addr.sin_port = htons((u_short)atoi(argv[my_optind]));
sbin/dump/dumprmt.c
160
rmtape = rcmd(&rmtpeer, (u_short)sp->s_port, pwd->pw_name,
sbin/fsck/pass1.c
314
(dp->di_ouid != (u_short)-1 || dp->di_ogid != (u_short)-1)) {
sbin/ifconfig/af_inet6.c
223
*(u_short *)&sin->sin6_addr.s6_addr[2] != 0) {
sbin/ifconfig/af_inet6.c
224
u_short index;
sbin/ifconfig/af_inet6.c
226
index = *(u_short *)&sin->sin6_addr.s6_addr[2];
sbin/ifconfig/af_inet6.c
227
*(u_short *)&sin->sin6_addr.s6_addr[2] = 0;
sbin/ifconfig/af_inet6.c
256
*(u_short *)&sin->sin6_addr.s6_addr[2] != 0) {
sbin/ifconfig/af_inet6.c
257
u_short index;
sbin/ifconfig/af_inet6.c
259
index = *(u_short *)&sin->sin6_addr.s6_addr[2];
sbin/ifconfig/af_inet6.c
260
*(u_short *)&sin->sin6_addr.s6_addr[2] = 0;
sbin/ip6fw/ip6fw.c
161
print_port(u_char prot, u_short port, const char *comma)
sbin/ip6fw/ip6fw.c
592
fill_reject_code6(u_short *codep, char *str)
sbin/ip6fw/ip6fw.c
612
add_port(u_short *cnt, u_short *ptr, u_short off, u_short port)
sbin/ip6fw/ip6fw.c
652
fill_port(u_short *cnt, u_short *ptr, u_short off, char *arg)
sbin/ip6fw/ip6fw.c
749
fill_icmptypes(unsigned *types, char **vp, u_short *fw_flg)
sbin/ip6fw/ip6fw.c
957
u_short nports = 0;
sbin/ip6fw/ip6fw.c
980
u_short nports = 0;
sbin/ipfw/ipfw2.c
2108
getbw(const char *str, u_short *flags, int kb)
sbin/ipfw/ipfw2.c
2841
p->sa.sin_port = (u_short)i;
sbin/ipfw/ipfw2.c
566
fill_reject_code(u_short *codep, char *str)
sbin/ipfw3/ipfw3dummynet.c
642
getbw(const char *str, u_short *flags, int kb)
sbin/ipfw3/ipfw3dummynet.h
48
unsigned long getbw(const char *str, u_short *flags, int kb);
sbin/ipfw3/ipfw3sync.c
130
edge->port = (u_short)strtoul(str, NULL, 0);
sbin/mountd/mountd.c
753
u_short sport;
sbin/natd/icmp.c
91
icmp->icmp_cksum = PacketAliasInternetChecksum((u_short *)icmp,
sbin/natd/natd.c
1073
u_short uNumValue;
sbin/natd/natd.c
111
static u_short inPort;
sbin/natd/natd.c
112
static u_short outPort;
sbin/natd/natd.c
113
static u_short inOutPort;
sbin/natd/natd.c
1344
u_short localPort = 0;
sbin/natd/natd.c
1345
u_short publicPort = 0;
sbin/natd/natd.c
1346
u_short remotePort = 0;
sbin/natd/natd.c
1347
u_short numLocalPorts = 0;
sbin/natd/natd.c
1348
u_short numPublicPorts = 0;
sbin/natd/natd.c
1349
u_short numRemotePorts = 0;
sbin/natd/natd.c
1442
u_short remotePortCopy = remotePort + i;
sbin/natd/natd.c
1593
u_short
sbin/natd/natd.c
1596
u_short port;
sbin/natd/natd.c
1617
u_short loPort;
sbin/natd/natd.c
1618
u_short hiPort;
sbin/natd/natd.c
94
static u_short StrToPort(const char *, const char *);
sbin/newfs/mkfs.c
943
u_short d_reclen;
sbin/newfs/mkfs.c
944
u_short d_namlen;
sbin/ping/ping.c
1198
u_short
sbin/ping/ping.c
1199
in_cksum(u_short *addr, int len)
sbin/ping/ping.c
1202
u_short *w;
sbin/ping/ping.c
1204
u_short us;
sbin/ping/ping.c
1207
u_short answer;
sbin/ping/ping.c
182
static u_short in_cksum(u_short *, int);
sbin/ping/ping.c
899
icp->icmp_cksum = in_cksum((u_short *)icp, cc);
sbin/ping/ping.c
905
ip->ip_sum = in_cksum((u_short *)outpackhdr, cc);
sbin/ping6/ping6.c
212
u_short naflags;
sbin/restore/dirs.c
110
u_short d_ino;
sbin/restore/tape.c
1015
u_short c_inumber;
sbin/restore/tape.c
1020
u_short odi_nlink;
sbin/restore/tape.c
1021
u_short odi_uid;
sbin/restore/tape.c
1022
u_short odi_gid;
sbin/routed/defs.h
183
u_short rts_tag;
sbin/routed/defs.h
249
u_short int_index;
sbin/routed/defs.h
264
u_short int_transitions; /* times gone up-down */
sbin/routed/defs.h
342
u_short ag_tag;
sbin/routed/defs.h
343
u_short ag_state;
sbin/routed/defs.h
566
u_short, u_short, void (*)(struct ag_info *));
sbin/routed/defs.h
607
extern struct interface *ifwithindex(u_short, int);
sbin/routed/if.c
206
ifwithindex(u_short idx, int rescan_ok)
sbin/routed/output.c
440
u_short ags;
sbin/routed/rdisc.c
560
u_short life, /* in host byte order */
sbin/routed/rdisc.c
657
static u_short
sbin/routed/rdisc.c
658
in_cksum(u_short *p,
sbin/routed/rdisc.c
799
u.ad.icmp_cksum = in_cksum((u_short*)&u.ad, sizeof(u.ad));
sbin/routed/rdisc.c
867
u.so.icmp_cksum = in_cksum((u_short*)&u.so,
sbin/routed/rdisc.c
943
u_short s[512/2];
sbin/routed/table.c
279
u_short tag,
sbin/routed/table.c
280
u_short state,
sbin/routed/table.c
748
u_short k_state;
sbin/spppcontrol/spppcontrol.c
243
proto_name(u_short proto)
sbin/spppcontrol/spppcontrol.c
255
authflags(u_short flags)
sbin/spppcontrol/spppcontrol.c
47
const char *proto_name(u_short proto);
sbin/spppcontrol/spppcontrol.c
48
const char *authflags(u_short flags);
stand/boot/common/console.c
136
__asm __volatile("inb %1,%0" : "=a" (data) : "id" ((u_short)(port)));
stand/boot/common/console.c
151
__asm __volatile("outb %0,%1" : : "a" (al), "id" ((u_short)(port)));
stand/boot/common/isapnp.h
248
u_short port[8]; /* The Base Address of the Port */
stand/boot/pc32/libi386/bioscd.c
72
u_short sp_devicespec;
stand/boot/pc32/libi386/bioscd.c
73
u_short sp_buffersegment;
stand/boot/pc32/libi386/bioscd.c
74
u_short sp_loadsegment;
stand/boot/pc32/libi386/bioscd.c
75
u_short sp_sectorcount;
stand/boot/pc32/libi386/bioscd.c
76
u_short sp_cylsec;
stand/boot/pc32/loader/main.c
401
__asm __volatile("inb %1,%0" : "=a" (data) : "id" ((u_short)(port)));
stand/boot/pc32/loader/main.c
416
__asm __volatile("outb %0,%1" : : "a" (al), "id" ((u_short)(port)));
stand/lib/bootp.c
261
bp->bp_secs = htons((u_short)(getsecs() - bot));
stand/lib/in_cksum.c
65
sum += *(u_short *)cp;
stand/lib/iodesc.h
43
u_short destport; /* dest. port, net order */
stand/lib/iodesc.h
44
u_short myport; /* local port, net order */
stand/lib/printf.c
359
num = (u_short)va_arg(ap, int);
stand/lib/rpc.c
288
rpc_fromaddr(void *pkt, struct in_addr *addr, u_short *port)
stand/lib/rpc.h
53
void rpc_fromaddr(void *, struct in_addr *, u_short *);
stand/lib/tftp.c
205
wbuf.t.th_opcode = htons((u_short) RRQ);
stand/lib/tftp.c
249
wbuf.t.th_opcode = htons((u_short) ACK);
stand/lib/tftp.c
251
wbuf.t.th_block = htons((u_short) h->currblock);
sys/bus/cam/scsi/scsi_sg.c
129
u_short *hoststat, u_short *drvstat);
sys/bus/cam/scsi/scsi_sg.c
763
u_short hstat, dstat;
sys/bus/cam/scsi/scsi_sg.c
919
sg_scsiio_status(struct ccb_scsiio *csio, u_short *hoststat, u_short *drvstat)
sys/bus/cam/scsi/scsi_sg.h
44
u_short iovec_count;
sys/bus/cam/scsi/scsi_sg.h
57
u_short host_status;
sys/bus/cam/scsi/scsi_sg.h
58
u_short driver_status;
sys/bus/ppbus/ppbconf.c
112
ppbdev->mode = (u_short)*val;
sys/cpu/x86_64/include/atomic.h
409
atomic_cmpset_short(volatile u_short *_dst, u_short _old, u_short _new)
sys/cpu/x86_64/include/atomic.h
411
u_short res = _old;
sys/cpu/x86_64/include/atomic.h
434
atomic_fcmpset_short(volatile u_short *_dst, u_short *_old, u_short _new)
sys/cpu/x86_64/include/atomic.h
436
u_short res = *_old;
sys/cpu/x86_64/include/cpufunc.h
349
__asm __volatile("inb %1,%0" : "=a" (data) : "id" ((u_short)(port)));
sys/cpu/x86_64/include/cpufunc.h
356
__asm __volatile("outb %0,%1" : : "a" (data), "id" ((u_short)(port)));
sys/cpu/x86_64/include/cpufunc.h
438
static __inline u_short
sys/cpu/x86_64/include/cpufunc.h
441
u_short data;
sys/cpu/x86_64/include/cpufunc.h
507
outw(u_int port, u_short data)
sys/cpu/x86_64/include/cpufunc.h
710
static __inline u_short
sys/cpu/x86_64/include/cpufunc.h
713
u_short sel;
sys/cpu/x86_64/include/cpufunc.h
718
static __inline u_short
sys/cpu/x86_64/include/cpufunc.h
721
u_short sel;
sys/cpu/x86_64/include/cpufunc.h
727
load_ds(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
733
load_es(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
745
load_fs(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
756
load_gs(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
771
load_fs(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
777
load_gs(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
793
lldt(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
800
ltr(u_short sel)
sys/cpu/x86_64/include/cpufunc.h
953
u_short inw(u_int port);
sys/cpu/x86_64/include/cpufunc.h
961
void lldt(u_short sel);
sys/cpu/x86_64/include/cpufunc.h
962
void ltr(u_short sel);
sys/cpu/x86_64/include/cpufunc.h
968
void outw(u_int port, u_short data);
sys/cpu/x86_64/include/cpufunc.h
974
u_short rfs(void);
sys/cpu/x86_64/include/cpufunc.h
975
u_short rgs(void);
sys/dev/disk/ncr/ncr.c
1082
u_short squeueput;
sys/dev/disk/ncr/ncr.c
1088
u_short ticks;
sys/dev/disk/ncr/ncr.c
1089
u_short latetime;
sys/dev/disk/ncr/ncr.c
3615
u_short command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/disk/ncr/ncr.c
5232
static void ncr_log_hard_error(ncb_p np, u_short sist, u_char dstat)
sys/dev/disk/ncr/ncr.c
5293
u_short sist;
sys/dev/disk/ncr/ncr.c
5652
u_short delta;
sys/dev/disk/ncr/ncr.c
6624
u_short segment = 0;
sys/dev/disk/ncr/ncr.c
7090
static u_short
sys/dev/disk/ncr/ncr.c
7094
u_short result = 0;
sys/dev/disk/ncr/ncr.c
7118
u_short *p = (u_short *) buffer;
sys/dev/disk/ncr/ncr.c
7119
u_short sum = 0;
sys/dev/disk/ncr/ncr.c
7128
u_short val;
sys/dev/disk/ncr/ncrreg.h
195
/*40*/ u_short nc_sien; /* -->: interrupt enable */
sys/dev/disk/ncr/ncrreg.h
196
/*42*/ u_short nc_sist; /* <--: interrupt status */
sys/dev/disk/ncr/ncrreg.h
215
/*4a*/ u_short nc_respid; /* sta: Reselect-IDs */
sys/dev/disk/ncr/ncrreg.h
232
/*50*/ u_short nc_sidl; /* Lowlevel: latched from scsi data */
sys/dev/disk/ncr/ncrreg.h
241
/*54*/ u_short nc_sodl; /* Lowlevel: data out to scsi data */
sys/dev/disk/ncr/ncrreg.h
242
/*56*/ u_short nc_56_;
sys/dev/disk/ncr/ncrreg.h
243
/*58*/ u_short nc_sbdl; /* Lowlevel: data from scsi data */
sys/dev/disk/ncr/ncrreg.h
244
/*5a*/ u_short nc_5a_;
sys/dev/disk/sym/sym_defs.h
143
u_short type; /* 0x0000 */
sys/dev/disk/sym/sym_defs.h
144
u_short byte_count; /* excluding header/trailer */
sys/dev/disk/sym/sym_defs.h
145
u_short checksum;
sys/dev/disk/sym/sym_defs.h
151
u_short flags;
sys/dev/disk/sym/sym_defs.h
157
u_short flags1;
sys/dev/disk/sym/sym_defs.h
159
u_short term_state;
sys/dev/disk/sym/sym_defs.h
163
u_short rmvbl_flags;
sys/dev/disk/sym/sym_defs.h
177
u_short type; /* 4:8xx / 0:nok */
sys/dev/disk/sym/sym_defs.h
178
u_short device_id; /* PCI device id */
sys/dev/disk/sym/sym_defs.h
179
u_short vendor_id; /* PCI vendor id */
sys/dev/disk/sym/sym_defs.h
182
u_short word8;
sys/dev/disk/sym/sym_defs.h
183
u_short flags;
sys/dev/disk/sym/sym_defs.h
185
u_short io_port; /* PCI io_port address */
sys/dev/disk/sym/sym_defs.h
198
u_short sync_period; /* 4*period factor */
sys/dev/disk/sym/sym_defs.h
199
u_short timeout;
sys/dev/disk/sym/sym_defs.h
203
u_short id;
sys/dev/disk/sym/sym_defs.h
204
u_short method;
sys/dev/disk/sym/sym_defs.h
209
u_short status;
sys/dev/disk/sym/sym_defs.h
243
u_short word2;
sys/dev/disk/sym/sym_defs.h
256
u_short flags1;
sys/dev/disk/sym/sym_defs.h
258
u_short spare[29];
sys/dev/disk/sym/sym_defs.h
91
u_short device_id;
sys/dev/disk/sym/sym_fw.h
105
SYM_GEN_FW_A(u_short)
sys/dev/disk/sym/sym_fw.h
108
SYM_GEN_FW_B(u_short)
sys/dev/disk/sym/sym_fw.h
109
SYM_GEN_B(u_short, start64)
sys/dev/disk/sym/sym_fw.h
110
SYM_GEN_B(u_short, pm_handle)
sys/dev/disk/sym/sym_hipd.c
1163
u_short usrtags;
sys/dev/disk/sym/sym_hipd.c
1216
u_short busy_itlq; /* Number of busy tagged CCBs */
sys/dev/disk/sym/sym_hipd.c
1217
u_short busy_itl; /* Number of busy untagged CCBs */
sys/dev/disk/sym/sym_hipd.c
1222
u_short ia_tag; /* Tag allocation index */
sys/dev/disk/sym/sym_hipd.c
1223
u_short if_tag; /* Tag release index */
sys/dev/disk/sym/sym_hipd.c
1445
u_short tag; /* Tag for this transfer */
sys/dev/disk/sym/sym_hipd.c
1594
u_short scripta_sz; /* Actual size of script A */
sys/dev/disk/sym/sym_hipd.c
1595
u_short scriptb_sz; /* Actual size of script B */
sys/dev/disk/sym/sym_hipd.c
1610
u_short device_id; /* PCI device id */
sys/dev/disk/sym/sym_hipd.c
1634
u_short squeueput; /* Next free slot of the queue */
sys/dev/disk/sym/sym_hipd.c
1635
u_short actccbs; /* Number of allocated CCBs */
sys/dev/disk/sym/sym_hipd.c
1641
u_short dqueueget; /* Next position to scan */
sys/dev/disk/sym/sym_hipd.c
1697
u_short iarb_max; /* Max. # consecutive IARB hints*/
sys/dev/disk/sym/sym_hipd.c
1698
u_short iarb_count; /* Actual # of these hints */
sys/dev/disk/sym/sym_hipd.c
1922
const u_short *po;
sys/dev/disk/sym/sym_hipd.c
1929
po = (const u_short *) fw->a_ofs;
sys/dev/disk/sym/sym_hipd.c
1937
po = (const u_short *) fw->b_ofs;
sys/dev/disk/sym/sym_hipd.c
2215
static void sym_log_hard_error (hcb_p np, u_short sist, u_char dstat);
sys/dev/disk/sym/sym_hipd.c
2222
static void sym_int_par (hcb_p np, u_short sist);
sys/dev/disk/sym/sym_hipd.c
2910
u_short qidx;
sys/dev/disk/sym/sym_hipd.c
3706
static void sym_log_hard_error(hcb_p np, u_short sist, u_char dstat)
sys/dev/disk/sym/sym_hipd.c
3759
u_short pci_sts;
sys/dev/disk/sym/sym_hipd.c
3836
u_short sist;
sys/dev/disk/sym/sym_hipd.c
4144
static void sym_int_par (hcb_p np, u_short sist)
sys/dev/disk/sym/sym_hipd.c
6290
u_short tag = NO_TAG;
sys/dev/disk/sym/sym_hipd.c
8461
u_short device_id;
sys/dev/disk/sym/sym_hipd.c
8506
u_short command;
sys/dev/disk/sym/sym_hipd.c
9529
u_short csum;
sys/dev/disk/sym/sym_hipd.c
9615
static void T93C46_Send_Command(hcb_p np, u_short write_data,
sys/dev/disk/sym/sym_hipd.c
9630
static void T93C46_Read_Word(hcb_p np, u_short *nvram_data, u_char *gpreg)
sys/dev/disk/sym/sym_hipd.c
9649
static int T93C46_Read_Data(hcb_p np, u_short *data,int len,u_char *gpreg)
sys/dev/disk/sym/sym_hipd.c
9688
retv = T93C46_Read_Data(np, (u_short *) nvram,
sys/dev/disk/sym/sym_hipd.c
9706
u_short csum;
sys/dev/drm/i915/i915_gem.c
6384
vm_ooffset_t foff, struct ucred *cred, u_short *color)
sys/dev/drm/include/drm/drm_gem.h
209
vm_ooffset_t foff, struct ucred *cred, u_short *color);
sys/dev/drm/ttm/ttm_bo_vm.c
729
vm_ooffset_t foff, struct ucred *cred, u_short *color)
sys/dev/misc/lpt/lpt.c
129
u_short sc_irq ; /* IRQ status of port */
sys/dev/misc/syscons/sckmsrndr.c
123
static u_short mouse_and_mask[16] = {
sys/dev/misc/syscons/sckmsrndr.c
127
static u_short mouse_or_mask[16] = {
sys/dev/misc/syscons/scterm-sc.c
49
u_short fg; /* foreground color */
sys/dev/misc/syscons/scterm-sc.c
50
u_short bg; /* background color */
sys/dev/misc/syscons/scvgarndr.c
1129
u_short m;
sys/dev/misc/syscons/scvgarndr.c
147
static u_short mouse_and_mask[16] = {
sys/dev/misc/syscons/scvgarndr.c
151
static u_short mouse_or_mask[16] = {
sys/dev/misc/syscons/scvgarndr.c
212
draw_txtcharcursor(scr_stat *scp, int at, u_short c, u_short a, int flip)
sys/dev/misc/syscons/scvgarndr.c
333
u_short cursor[32];
sys/dev/misc/syscons/scvgarndr.c
711
u_short bg;
sys/dev/misc/syscons/scvgarndr.c
712
u_short col1, col2;
sys/dev/misc/syscons/star/star_saver.c
65
static u_short stars[NUM_STARS][2];
sys/dev/misc/syscons/syscons.c
3230
static u_short sc_buffer[2*ROW*2*COL]; /* XXX */
sys/dev/misc/syscons/syscons.h
292
u_short cursor_saveunder_char; /* saved char under cursor */
sys/dev/misc/syscons/syscons.h
293
u_short cursor_saveunder_attr; /* saved attr under cursor */
sys/dev/misc/syscons/syscons.h
310
u_short bell_duration;
sys/dev/misc/syscons/syscons.h
311
u_short bell_pitch;
sys/dev/netif/fxp/if_fxp.c
1019
fxp_read_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words)
sys/dev/netif/fxp/if_fxp.c
1028
fxp_write_eeprom(struct fxp_softc *sc, u_short *data, int offset, int words)
sys/dev/netif/fxp/if_fxp.c
221
static void fxp_read_eeprom(struct fxp_softc *sc, u_short *data,
sys/dev/netif/fxp/if_fxp.c
223
static void fxp_write_eeprom(struct fxp_softc *sc, u_short *data,
sys/dev/netif/fxp/if_fxp.c
2271
u_short int_delay_offset;
sys/dev/netif/fxp/if_fxp.c
2272
u_short bundle_max_offset;
sys/dev/netif/fxp/if_fxp.c
2304
*(u_short *)&cbp->ucode[uc->int_delay_offset] =
sys/dev/netif/fxp/if_fxp.c
2307
*(u_short *)&cbp->ucode[uc->bundle_max_offset] =
sys/dev/netif/sn/if_sn.c
1231
u_short revision_register;
sys/dev/netif/sn/if_sn.c
1232
u_short base_address_register;
sys/dev/netif/sn/if_sn.c
1233
u_short ioaddr;
sys/dev/netif/sn/if_sn.c
1350
((u_short)mcf[1] << 8) | mcf[0]);
sys/dev/netif/sn/if_sn.c
1352
((u_short)mcf[3] << 8) | mcf[2]);
sys/dev/netif/sn/if_sn.c
1354
((u_short)mcf[5] << 8) | mcf[4]);
sys/dev/netif/sn/if_sn.c
1356
((u_short)mcf[7] << 8) | mcf[6]);
sys/dev/netif/sn/if_sn.c
157
u_short i;
sys/dev/netif/sn/if_sn.c
160
u_short address;
sys/dev/netif/sn/if_sn.c
184
u_short w;
sys/dev/netif/sn/if_sn.c
186
w = (u_short)sc->arpcom.ac_enaddr[j * 2] |
sys/dev/netif/sn/if_sn.c
187
(((u_short)sc->arpcom.ac_enaddr[j * 2 + 1]) << 8);
sys/dev/netif/sn/if_sn.c
337
u_short length;
sys/dev/netif/sn/if_sn.c
338
u_short numPages;
sys/dev/netif/sn/if_sn.c
551
u_short length;
sys/dev/netif/sn/if_sn.c
552
u_short numPages;
sys/dev/netif/sn/if_sn.c
553
u_short pages_wanted;
sys/dev/netif/sn/if_sn.c
738
u_short tx_status;
sys/dev/netif/sn/if_sn.c
739
u_short card_stats;
sys/dev/netif/sn/if_sn.c
955
u_short packet_length;
sys/dev/netif/xe/if_xe.c
1538
XE_OUTW(XE_EDP, *(u_short *)savebyte);
sys/dev/netif/xe/if_xe.c
799
u_short rhs;
sys/dev/powermng/amdpm/amdpm.c
274
u_short l;
sys/dev/powermng/amdpm/amdpm.c
286
u_short sts;
sys/dev/powermng/amdpm/amdpm.c
303
u_short sts = 0;
sys/dev/powermng/amdpm/amdpm.c
342
u_short l;
sys/dev/powermng/amdpm/amdpm.c
379
u_short l;
sys/dev/powermng/amdpm/amdpm.c
406
u_short l;
sys/dev/powermng/amdpm/amdpm.c
433
u_short l;
sys/dev/powermng/amdpm/amdpm.c
461
u_short l;
sys/dev/powermng/amdpm/amdpm.c
489
u_short l;
sys/dev/powermng/amdpm/amdpm.c
517
u_short l;
sys/dev/powermng/amdpm/amdpm.c
546
u_short l;
sys/dev/powermng/amdpm/amdpm.c
590
u_short l;
sys/dev/smbus/smb/smb.h
38
u_short op;
sys/dev/sound/midi/sequencer.c
1018
midiunit = *(u_short *)&event[2];
sys/dev/sound/midi/sequencer.c
1816
u_short w14;
sys/dev/sound/midi/sequencer.c
1823
w14 = *(u_short *)&event[6];
sys/dev/video/bktr/bktr_core.c
1282
*(u_short *)arg = temp;
sys/dev/video/bktr/bktr_core.c
1405
set_fps(bktr, *(u_short *)arg);
sys/dev/video/bktr/bktr_core.c
1409
*(u_short *)arg = bktr->fps;
sys/dev/video/bktr/bktr_core.c
342
static void set_fps( bktr_ptr_t bktr, u_short fps );
sys/dev/video/bktr/bktr_core.c
3548
u_short fps_save = bktr->fps;
sys/dev/video/bktr/bktr_core.c
3571
set_fps( bktr_ptr_t bktr, u_short fps )
sys/dev/video/bktr/bktr_core.c
624
u_short tdec_save = INB(bktr, BKTR_TDEC);
sys/dev/video/bktr/bktr_reg.h
496
u_short capcontrol; /* reg 0xdc capture control */
sys/dev/video/bktr/bktr_reg.h
497
u_short bktr_cap_ctl;
sys/dev/video/bktr/bktr_reg.h
545
u_short fps; /* frames per second */
sys/dev/video/fb/bmp/splash_bmp.c
179
u_short bfType;
sys/dev/video/fb/bmp/splash_bmp.c
181
u_short bfReserved1;
sys/dev/video/fb/bmp/splash_bmp.c
182
u_short bfReserved2;
sys/dev/video/fb/pcx/splash_pcx.c
146
u_short xmin, ymin, xmax, ymax;
sys/dev/video/fb/pcx/splash_pcx.c
147
u_short hres, vres;
sys/dev/video/fb/pcx/splash_pcx.c
151
u_short bpsl;
sys/dev/video/fb/pcx/splash_pcx.c
152
u_short palinfo;
sys/dev/video/fb/pcx/splash_pcx.c
153
u_short hsize, vsize;
sys/dev/video/meteor/ioctl_meteor.h
48
u_short rows;
sys/dev/video/meteor/ioctl_meteor.h
49
u_short columns;
sys/dev/video/meteor/ioctl_meteor.h
50
u_short frames;
sys/kern/subr_prf.c
791
num = (u_short)__va_arg(ap, int);
sys/kern/subr_prof.c
128
u_short v;
sys/kern/subr_sglist.c
58
u_short sg_nseg;
sys/kern/sysv_msg.c
50
u_short msg_ts; /* size of this message */
sys/kern/sysv_sem.c
40
u_short semval; /* semaphore value */
sys/kern/sysv_sem.c
42
u_short semncnt; /* # awaiting semval > cval */
sys/kern/sysv_sem.c
43
u_short semzcnt; /* # awaiting semval = 0 */
sys/kern/usched_bsd4.c
1107
u_short newrqtype;
sys/kern/usched_dfly.c
1095
u_short newrqtype;
sys/kern/vfs_bio.c
4284
vmflags |= VM_ALLOC_CPU((mycpu->gd_cpuid + (u_short)ticks) % ncpus);
sys/kern/vfs_vnops.c
838
u_short mode;
sys/net/bpf.h
138
u_short bh_hdrlen; /* length of bpf header (this struct
sys/net/bpf.h
216
u_short code;
sys/net/bpf.h
225
#define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
sys/net/bpf.h
226
#define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
sys/net/bpf.h
97
u_short bv_major;
sys/net/bpf.h
98
u_short bv_minor;
sys/net/bridge/if_bridge.c
4217
u_short sum;
sys/net/dummynet/ip_dummynet.c
1777
u_short fs_type)
sys/net/dummynet/ip_dummynet.h
148
u_short pipe_nr; /* pipe/flow_set number */
sys/net/dummynet/ip_dummynet.h
149
u_short pad;
sys/net/dummynet/ip_dummynet.h
264
u_short fs_nr; /* flow_set number */
sys/net/dummynet/ip_dummynet.h
265
u_short flags_fs; /* see 'Flow set flags' */
sys/net/dummynet/ip_dummynet.h
270
u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
sys/net/dummynet/ip_dummynet.h
393
u_short fs_type; /* DN_IS_{QUEUE,PIPE}, MUST be first */
sys/net/dummynet/ip_dummynet.h
395
u_short fs_nr; /* flow_set number */
sys/net/dummynet/ip_dummynet.h
396
u_short flags_fs; /* see 'Flow set flags' */
sys/net/dummynet/ip_dummynet.h
397
u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
sys/net/dummynet3/ip_dummynet3.c
1756
u_short fs_type)
sys/net/dummynet3/ip_dummynet3.h
163
u_short pipe_nr; /* pipe/flow_set number */
sys/net/dummynet3/ip_dummynet3.h
164
u_short pad;
sys/net/dummynet3/ip_dummynet3.h
279
u_short fs_nr; /* flow_set number */
sys/net/dummynet3/ip_dummynet3.h
280
u_short flags_fs; /* see 'Flow set flags' */
sys/net/dummynet3/ip_dummynet3.h
285
u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
sys/net/dummynet3/ip_dummynet3.h
408
u_short fs_type; /* DN_IS_{QUEUE,PIPE}, MUST be first */
sys/net/dummynet3/ip_dummynet3.h
410
u_short fs_nr; /* flow_set number */
sys/net/dummynet3/ip_dummynet3.h
411
u_short flags_fs; /* see 'Flow set flags' */
sys/net/dummynet3/ip_dummynet3.h
412
u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
sys/net/ethernet.h
82
u_short ether_type;
sys/net/gre/if_gre.c
254
u_short etype = 0;
sys/net/gre/if_gre.c
340
mob_h.hcrc = gre_in_cksum((u_short *)&mob_h, msiz);
sys/net/gre/if_gre.c
805
u_short
sys/net/gre/if_gre.c
806
gre_in_cksum(u_short *p, u_int len)
sys/net/gre/if_gre.c
816
u_short w;
sys/net/gre/if_gre.h
170
u_short gre_in_cksum(u_short *p, u_int len);
sys/net/if.h
172
u_short ifm_msglen; /* to skip over non-understood messages */
sys/net/if.h
175
u_short ifm_index; /* index for associated ifp */
sys/net/if.h
186
u_short ifam_msglen; /* to skip over non-understood messages */
sys/net/if.h
189
u_short ifam_index; /* index for associated ifp */
sys/net/if.h
201
u_short ifmam_msglen; /* to skip over non-understood messages */
sys/net/if.h
204
u_short ifmam_index; /* index for associated ifp */
sys/net/if.h
213
u_short ifan_msglen; /* to skip over non-understood messages */
sys/net/if.h
216
u_short ifan_index; /* index for associated ifp */
sys/net/if.h
218
u_short ifan_what; /* what type of announcement */
sys/net/if_arp.h
55
u_short ar_hrd; /* format of hardware address */
sys/net/if_arp.h
61
u_short ar_pro; /* format of protocol address */
sys/net/if_arp.h
64
u_short ar_op; /* one of: */
sys/net/if_dl.h
65
u_short sdl_index; /* if != 0, system given index for interface */
sys/net/if_dl.h
72
u_short sdl_rcf; /* source routing control */
sys/net/if_dl.h
73
u_short sdl_route[16]; /* source routing information */
sys/net/if_ethersubr.c
989
u_short ether_type;
sys/net/if_llc.h
80
u_short ether_type;
sys/net/if_var.h
335
u_short if_index; /* numeric abbreviation for this if */
sys/net/if_var.h
634
u_short ifa_flags; /* mostly rt_flags for cloning */
sys/net/ip6fw/ip6_fw.c
1128
ip6_fw_chain.lh_first->rule->fw_number != (u_short)-1) {
sys/net/ip6fw/ip6_fw.c
1173
} else if (mtod(m, struct ip6_fw *)->fw_number == (u_short)-1) {
sys/net/ip6fw/ip6_fw.c
1205
default_rule.fw_number = (u_short)-1;
sys/net/ip6fw/ip6_fw.c
134
static int del_entry6 (struct ip6_fw_head *chainptr, u_short number);
sys/net/ip6fw/ip6_fw.c
140
int *off, int *nxt, u_short *offset);
sys/net/ip6fw/ip6_fw.c
141
static int port_match6 (u_short *portptr, int nports, u_short port,
sys/net/ip6fw/ip6_fw.c
158
port_match6(u_short *portptr, int nports, u_short port, int range_flag)
sys/net/ip6fw/ip6_fw.c
243
int *off, int *nxt, u_short *offset)
sys/net/ip6fw/ip6_fw.c
505
u_short offset = 0;
sys/net/ip6fw/ip6_fw.c
507
u_short src_port, dst_port;
sys/net/ip6fw/ip6_fw.c
845
u_short nbr = 0;
sys/net/ip6fw/ip6_fw.c
862
} else if (ftmp->fw_number == (u_short)-1) {
sys/net/ip6fw/ip6_fw.c
873
if (fcp->rule->fw_number != (u_short)-1)
sys/net/ip6fw/ip6_fw.c
878
if (nbr < (u_short)-1 - 100)
sys/net/ip6fw/ip6_fw.c
902
del_entry6(struct ip6_fw_head *chainptr, u_short number)
sys/net/ip6fw/ip6_fw.c
909
if (number != (u_short)-1) {
sys/net/ip6fw/ip6_fw.h
101
u_short fu_divert_port; /* Divert/tee port (options IP6DIVERT) */
sys/net/ip6fw/ip6_fw.h
102
u_short fu_skipto_rule; /* SKIPTO command rule number */
sys/net/ip6fw/ip6_fw.h
103
u_short fu_reject_code; /* REJECT response code */
sys/net/ip6fw/ip6_fw.h
226
typedef int ip6_fw_chk_t(struct ip6_hdr **, struct ifnet *, u_short *,
sys/net/ip6fw/ip6_fw.h
89
u_short fw_number; /* Rule number */
sys/net/ip6fw/ip6_fw.h
90
u_short fw_flg; /* Flags word */
sys/net/ip6fw/ip6_fw.h
93
u_short fw_pts[IPV6_FW_MAX_PORTS]; /* Array of port numbers to match */
sys/net/ip_mroute/ip_mroute.c
974
u_short nstl;
sys/net/ip_mroute/ip_mroute.h
82
typedef u_short vifi_t; /* type of a vif index */
sys/net/ipfw/ip_fw2.c
355
u_short offset;
sys/net/ipfw3/ip_fw3.c
343
u_short offset = 0;
sys/net/ipfw3_basic/ip_fw3_state.h
40
u_short src_port;
sys/net/ipfw3_basic/ip_fw3_state.h
41
u_short dst_port;
sys/net/ipfw3_basic/ip_fw3_sync.h
48
u_short port;
sys/net/ipfw3_nat/ip_fw3_nat.h
55
u_short src_port;
sys/net/ipfw3_nat/ip_fw3_nat.h
56
u_short dst_port;
sys/net/ipfw3_nat/ip_fw3_nat.h
57
u_short alias_port;
sys/net/lagg/if_lagg.c
2138
u_short etype;
sys/net/netmap/netmap_freebsd.c
203
vm_ooffset_t foff, struct ucred *cred, u_short *color)
sys/net/pf/pf.c
218
struct pf_pdesc *, u_short *, int *);
sys/net/pf/pf.c
221
struct pf_pdesc *, u_short *);
sys/net/pf/pf.c
224
void *, struct pf_pdesc *, u_short *);
sys/net/pf/pf.c
230
void *, struct pf_pdesc *, u_short *);
sys/net/pf/pf.c
3674
MD5Update(&ctx, (char *)&pd->hdr.tcp->th_sport, sizeof(u_short));
sys/net/pf/pf.c
3675
MD5Update(&ctx, (char *)&pd->hdr.tcp->th_dport, sizeof(u_short));
sys/net/pf/pf.c
3704
u_short reason;
sys/net/pf/pf.c
4109
u_short reason;
sys/net/pf/pf.c
4339
u_short reason;
sys/net/pf/pf.c
4423
struct pf_pdesc *pd, u_short *reason, int *copyback)
sys/net/pf/pf.c
4779
struct pf_state **state, struct pf_pdesc *pd, u_short *reason)
sys/net/pf/pf.c
4857
u_short *reason)
sys/net/pf/pf.c
5165
u_short *reason)
sys/net/pf/pf.c
5870
u_short *actionp, u_short *reasonp, sa_family_t af)
sys/net/pf/pf.c
6397
ip->ip_dst.s_addr, htonl((u_short)len +
sys/net/pf/pf.c
6517
u_short action, reason = 0, log = 0;
sys/net/pf/pf.c
6858
u_short action, reason = 0, log = 0;
sys/net/pf/pf_norm.c
1115
u_short *reason, struct pf_pdesc *pd)
sys/net/pf/pf_norm.c
1298
u_short reason;
sys/net/pf/pf_norm.c
1502
u_short *reason, struct tcphdr *th, struct pf_state *state,
sys/net/pf/pf_norm.c
861
pf_normalize_ip(struct mbuf **m0, int dir, struct pfi_kif *kif, u_short *reason,
sys/net/pf/pfvar.h
1354
u_short *r = (a); /* keep -Waddress happy */ \
sys/net/pf/pfvar.h
1837
void *pf_pull_hdr(struct mbuf *, int, void *, int, u_short *, u_short *,
sys/net/pf/pfvar.h
1854
int pf_normalize_ip(struct mbuf **, int, struct pfi_kif *, u_short *,
sys/net/pf/pfvar.h
1856
int pf_normalize_ip6(struct mbuf **, int, struct pfi_kif *, u_short *,
sys/net/pf/pfvar.h
1864
u_short *, struct tcphdr *, struct pf_state *,
sys/net/route.h
114
u_short rmx_mssopt; /* peer's cached MSS */
sys/net/route.h
115
u_short rmx_pad; /* explicit pad */
sys/net/route.h
212
u_short rtm_msglen; /* to skip over non-understood messages */
sys/net/route.h
215
u_short rtm_index; /* index for associated ifp */
sys/net/sppp/if_sppp.h
147
u_short pp_alivecnt; /* keepalive packets counter */
sys/net/sppp/if_sppp.h
148
u_short pp_loopcnt; /* loopback detection counter */
sys/net/sppp/if_sppp.h
64
u_short proto; /* authentication protocol to use */
sys/net/sppp/if_sppp.h
65
u_short flags;
sys/net/sppp/if_spppsubr.c
1301
ch->time0 = htons ((u_short) (tv.tv_sec >> 16));
sys/net/sppp/if_spppsubr.c
1302
ch->time1 = htons ((u_short) tv.tv_sec);
sys/net/sppp/if_spppsubr.c
1329
sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
sys/net/sppp/if_spppsubr.c
1330
u_char ident, u_short len, void *data)
sys/net/sppp/if_spppsubr.c
1651
sppp_cp_type_name(h->type), ntohs(*((u_short *)p)));
sys/net/sppp/if_spppsubr.c
168
u_short protocol;
sys/net/sppp/if_spppsubr.c
175
u_short len;
sys/net/sppp/if_spppsubr.c
183
u_short rel;
sys/net/sppp/if_spppsubr.c
184
u_short time0;
sys/net/sppp/if_spppsubr.c
185
u_short time1;
sys/net/sppp/if_spppsubr.c
196
u_short proto; /* PPP control protocol number */
sys/net/sppp/if_spppsubr.c
2182
u_short authproto;
sys/net/sppp/if_spppsubr.c
236
static u_short interactive_ports[8] = {
sys/net/sppp/if_spppsubr.c
256
static void sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
sys/net/sppp/if_spppsubr.c
257
u_char ident, u_short len, void *data);
sys/net/sppp/if_spppsubr.c
2705
u_short authproto;
sys/net/sppp/if_spppsubr.c
339
static const char *sppp_auth_type_name(u_short proto, u_char type);
sys/net/sppp/if_spppsubr.c
348
static const char *sppp_proto_name(u_short proto);
sys/net/sppp/if_spppsubr.c
355
static void sppp_print_bytes(const u_char *p, u_short len);
sys/net/sppp/if_spppsubr.c
356
static void sppp_print_string(const char *p, u_short len);
sys/net/sppp/if_spppsubr.c
5175
sppp_auth_type_name(u_short proto, u_char type)
sys/net/sppp/if_spppsubr.c
5273
sppp_proto_name(u_short proto)
sys/net/sppp/if_spppsubr.c
5288
sppp_print_bytes(const u_char *p, u_short len)
sys/net/sppp/if_spppsubr.c
5296
sppp_print_string(const char *p, u_short len)
sys/net/tap/if_tapvar.h
49
u_short tap_flags; /* misc flags */
sys/net/tun/if_tun.h
32
u_short mtu; /* maximum transmission unit */
sys/net/tun/if_tunvar.h
35
u_short tun_flags; /* misc flags */
sys/net/vlan/if_vlan_var.h
57
u_short vlr_tag;
sys/netgraph/cisco/ng_cisco.c
618
ch->time0 = htons((u_short) (t >> 16));
sys/netgraph/cisco/ng_cisco.c
619
ch->time1 = htons((u_short) t);
sys/netgraph/cisco/ng_cisco.c
77
u_short protocol;
sys/netgraph/cisco/ng_cisco.c
86
u_short rel;
sys/netgraph/cisco/ng_cisco.c
87
u_short time0;
sys/netgraph/cisco/ng_cisco.c
88
u_short time1;
sys/netgraph/cisco/ng_cisco.c
95
u_short af; /* address family, -1 = downstream */
sys/netgraph/frame_relay/ng_frame_relay.c
87
u_short ALT[1024]; /* map DLCIs to CTX */
sys/netgraph/lmi/ng_lmi.c
345
meta->used_len = (u_short) sizeof(struct ng_meta);
sys/netgraph/lmi/ng_lmi.c
347
= (u_short) sizeof(struct ng_meta) + META_PAD;
sys/netgraph/lmi/ng_lmi.c
568
u_short packetlen;
sys/netgraph/lmi/ng_lmi.c
699
dlci = ((u_short) data[2] & 0xff) << 8;
sys/netgraph/lmi/ng_lmi.c
706
dlci = ((u_short) data[2] & 0x3f) << 4;
sys/netgraph/lmi/ng_lmi.c
750
u_short packetlen;
sys/netgraph/lmi/ng_lmi.c
939
dlci = ((u_short) data[2] & 0xff) << 8;
sys/netgraph/lmi/ng_lmi.c
948
dlci = ((u_short) data[2] & 0x3f) << 4;
sys/netgraph/mppc/ng_mppc.c
497
u_short flags = MPPC_MANDATORY_COMPRESS_FLAGS;
sys/netgraph/netgraph.h
149
u_short type; /* field ID */
sys/netgraph/netgraph.h
150
u_short len; /* total len of this field including extra
sys/netgraph/netgraph.h
162
u_short allocated_len; /* amount malloc'd */
sys/netgraph/netgraph.h
163
u_short used_len; /* sum of all fields, options etc. */
sys/netgraph/netgraph.h
164
u_short flags; /* see below.. generic flags */
sys/netgraph/pptpgre/ng_pptpgre.c
508
gre->length = (m != NULL) ? htons((u_short)m->m_pkthdr.len) : 0;
sys/netgraph7/cisco/ng_cisco.c
614
ch->time0 = htons((u_short) (t >> 16));
sys/netgraph7/cisco/ng_cisco.c
615
ch->time1 = htons((u_short) t);
sys/netgraph7/cisco/ng_cisco.c
75
u_short protocol;
sys/netgraph7/cisco/ng_cisco.c
84
u_short rel;
sys/netgraph7/cisco/ng_cisco.c
85
u_short time0;
sys/netgraph7/cisco/ng_cisco.c
86
u_short time1;
sys/netgraph7/cisco/ng_cisco.c
93
u_short af; /* address family, -1 = downstream */
sys/netgraph7/frame_relay/ng_frame_relay.c
87
u_short ALT[1024]; /* map DLCIs to CTX */
sys/netgraph7/lmi/ng_lmi.c
560
u_short packetlen;
sys/netgraph7/lmi/ng_lmi.c
690
dlci = ((u_short) data[2] & 0xff) << 8;
sys/netgraph7/lmi/ng_lmi.c
697
dlci = ((u_short) data[2] & 0x3f) << 4;
sys/netgraph7/lmi/ng_lmi.c
741
u_short packetlen;
sys/netgraph7/lmi/ng_lmi.c
930
dlci = ((u_short) data[2] & 0xff) << 8;
sys/netgraph7/lmi/ng_lmi.c
939
dlci = ((u_short) data[2] & 0x3f) << 4;
sys/netgraph7/mppc/ng_mppc.c
485
u_short flags = MPPC_MANDATORY_COMPRESS_FLAGS;
sys/netgraph7/pptpgre/ng_pptpgre.c
576
gre->length = (m != NULL) ? htons((u_short)m->m_pkthdr.len) : 0;
sys/netgraph7/tcpmss/ng_tcpmss.c
402
cksum = (u_short) ~acc; \
sys/netgraph7/tcpmss/ng_tcpmss.c
406
cksum = (u_short) acc; \
sys/netinet/if_ether.c
131
u_short la_preempt; /* countdown for pre-expiry arps */
sys/netinet/if_ether.c
132
u_short la_asked; /* #times we QUERIED following expiration */
sys/netinet/if_ether.c
357
u_short ar_hrd;
sys/netinet/if_ether.c
631
u_short ar_hrd;
sys/netinet/if_ether.h
103
u_short sin_port;
sys/netinet/if_ether.h
106
u_short sin_tos;
sys/netinet/if_ether.h
107
u_short sin_other;
sys/netinet/igmp.h
62
u_short igmp_cksum; /* IP-style checksum */
sys/netinet/in_pcb.c
1075
u_short fport = sin->sin_port;
sys/netinet/in_pcb.c
1476
u_short lport = lport_arg;
sys/netinet/in_pcb.c
1713
u_short fport = fport_arg, lport = lport_arg;
sys/netinet/in_pcb.c
2523
u_short offset)
sys/netinet/in_pcb.c
2533
in_pcbportrange(u_short *hi0, u_short *lo0, u_short ofs, u_short step)
sys/netinet/in_pcb.c
346
struct inpcb *inp, u_short lport, struct ucred *cred, int wild)
sys/netinet/in_pcb.c
373
u_short first, last, lport, step, first0, last0;
sys/netinet/in_pcb.c
464
OBTAIN_LPORTHASH_TOKEN(struct inpcbinfo *pcbinfo, u_short lport)
sys/netinet/in_pcb.c
468
u_short lport_ho = ntohs(lport);
sys/netinet/in_pcb.c
645
u_short lport;
sys/netinet/in_pcb.c
730
u_short lport, struct in_addr faddr, u_short fport,
sys/netinet/in_pcb.c
791
u_short lport, const struct sockaddr_in *sin,
sys/netinet/in_pcb.c
824
u_short first, last, lport;
sys/netinet/in_pcb.c
893
u_short lport_no;
sys/netinet/in_pcb.h
232
u_short inp6_ifindex;
sys/netinet/in_pcb.h
285
u_short phd_port;
sys/netinet/in_pcb.h
293
u_short offset;
sys/netinet/in_pcb.h
416
in_pcbporthash_head(struct inpcbportinfo *portinfo, u_short lport)
sys/netinet/in_pcb.h
485
void in_pcbportrange(u_short *, u_short *, u_short, u_short);
sys/netinet/in_pcb.h
490
void in_pcbportinfo_init (struct inpcbportinfo *, int, u_short);
sys/netinet/ip.h
69
u_short ip_len; /* total length */
sys/netinet/ip.h
70
u_short ip_id; /* identification */
sys/netinet/ip.h
71
u_short ip_off; /* fragment offset field */
sys/netinet/ip.h
78
u_short ip_sum; /* checksum */
sys/netinet/ip_divert.c
354
if ((u_short)ntohs(ip->ip_len) > m->m_pkthdr.len) {
sys/netinet/ip_divert.c
572
u_short frag_off;
sys/netinet/ip_gre.c
136
u_short flags;
sys/netinet/ip_gre.c
232
if (gre_in_cksum((u_short*)&mip->mh,msiz) != 0) {
sys/netinet/ip_icmp.h
69
u_short icmp_cksum; /* ones complement cksum of struct */
sys/netinet/ip_input.c
451
u_short sum;
sys/netinet/ip_input.c
987
u_short sum;
sys/netinet/ip_output.c
83
u_short ip_id;
sys/netinet/ip_output.c
886
mhip->ip_len = htons((u_short)(len + mhlen));
sys/netinet/ip_output.c
916
ip->ip_len = htons((u_short)m0->m_pkthdr.len);
sys/netinet/ip_output.c
931
u_short csum, offset;
sys/netinet/ip_output.c
940
if (offset + sizeof(u_short) > m->m_len) {
sys/netinet/ip_output.c
949
m = m_pullup(m, offset + sizeof(u_short));
sys/netinet/ip_output.c
951
*(u_short *)(m->m_data + offset) = csum;
sys/netinet/ip_output.c
970
if (optlen + (u_short)ntohs(ip->ip_len) > IP_MAXPACKET) {
sys/netinet/ip_var.h
107
u_short imo_num_memberships; /* no. memberships this socket */
sys/netinet/ip_var.h
108
u_short imo_max_memberships; /* max memberships this socket */
sys/netinet/ip_var.h
175
extern u_short ip_id; /* ip packet ctr, for ids */
sys/netinet/ip_var.h
64
u_short ih_len; /* protocol length */
sys/netinet/ip_var.h
79
u_short ipq_id; /* sequence id for reassembly */
sys/netinet/tcp.h
53
u_short th_sport; /* source port */
sys/netinet/tcp.h
54
u_short th_dport; /* destination port */
sys/netinet/tcp.h
77
u_short th_win; /* window */
sys/netinet/tcp.h
78
u_short th_sum; /* checksum */
sys/netinet/tcp.h
79
u_short th_urp; /* urgent pointer */
sys/netinet/tcp_debug.c
171
len = ntohs((u_short)len);
sys/netinet/tcp_input.c
746
ipov->ih_len = (u_short)tlen;
sys/netinet/tcp_output.c
1036
th->th_win = htons((u_short) (recvwin>>tp->rcv_scale));
sys/netinet/tcp_output.c
1041
th->th_urp = htons((u_short)(tp->snd_up - tp->snd_nxt));
sys/netinet/tcp_output.c
1086
htons((u_short)(optlen + len)));
sys/netinet/tcp_output.c
722
u_short mss;
sys/netinet/tcp_output.c
726
mss = htons((u_short) tcp_mssopt(tp));
sys/netinet/tcp_subr.c
2219
u_short savecsum;
sys/netinet/tcp_subr.c
654
ip6->ip6_plen = htons((u_short)(sizeof(struct tcphdr) + tlen));
sys/netinet/tcp_subr.c
670
nth->th_win = htons((u_short) (win >> tp->rcv_scale));
sys/netinet/tcp_subr.c
672
nth->th_win = htons((u_short)win);
sys/netinet/tcp_subr.c
683
htons((u_short)(tlen - sizeof(struct ip) + ip->ip_p)));
sys/netinet/udp.h
46
u_short uh_sport; /* source port */
sys/netinet/udp.h
47
u_short uh_dport; /* destination port */
sys/netinet/udp.h
48
u_short uh_ulen; /* udp length */
sys/netinet/udp.h
49
u_short uh_sum; /* udp checksum */
sys/netinet/udp_usrreq.c
1096
ui->ui_ulen = htons((u_short)len + sizeof(struct udphdr));
sys/netinet/udp_usrreq.c
1103
htons((u_short)len + sizeof(struct udphdr) + IPPROTO_UDP));
sys/netinet/udp_usrreq.c
421
len = ntohs((u_short)uh->uh_ulen);
sys/netinet/udp_usrreq.c
446
ip->ip_dst.s_addr, htonl((u_short)len +
sys/netinet6/frag6.c
470
ip6->ip6_plen = htons((u_short)next + offset - sizeof(struct ip6_hdr));
sys/netinet6/in6.c
1864
const u_short *a = (const u_short *)addr;
sys/netinet6/in6_gif.c
169
ip6->ip6_plen = htons((u_short)m->m_pkthdr.len);
sys/netinet6/in6_pcb.c
122
u_short lport, lport_ho;
sys/netinet6/in6_pcb.c
622
u_short lport = lport_arg;
sys/netinet6/in6_pcb.c
819
u_short fport = fport_arg, lport = lport_arg;
sys/netinet6/in6_src.c
381
struct inpcb *inp, u_short lport, struct ucred *cred, int wild)
sys/netinet6/in6_var.h
301
u_short prf_reserved2;
sys/netinet6/in6_var.h
309
u_short prf_reserved4;
sys/netinet6/ip6_forward.c
271
u_short port = 0;
sys/netinet6/ip6_input.c
315
u_short port = 0;
sys/netinet6/ip6_mroute.c
696
u_short nstl;
sys/netinet6/ip6_mroute.h
118
u_short mif6c_pifi; /* the index of the physical IF */
sys/netinet6/ip6_mroute.h
88
typedef u_short mifi_t; /* type of a mif index */
sys/netinet6/ip6_output.c
608
u_short port = 0;
sys/netinet6/ip6_output.c
818
ip6f->ip6f_offlg = htons((u_short)((off - hlen) & ~7));
sys/netinet6/ip6_output.c
823
mhip6->ip6_plen = htons((u_short)(len + hlen +
sys/netinet6/nd6.c
2210
u_short advrtrs;
sys/netinet6/nd6.h
134
u_short rtlifetime;
sys/netinet6/nd6.h
136
u_short if_index;
sys/netinet6/nd6.h
143
u_short rtlifetime;
sys/netinet6/nd6.h
145
u_short if_index;
sys/netinet6/nd6.h
158
u_short if_index;
sys/netinet6/nd6.h
159
u_short advrtrs; /* number of advertisement routers */
sys/netinet6/nd6.h
174
u_short if_index;
sys/netinet6/nd6.h
175
u_short advrtrs; /* number of advertisement routers */
sys/netinet6/nd6.h
237
u_short rtlifetime;
sys/netinet6/nd6.h
280
u_short inpm_msglen; /* to skip over non-understood messages */
sys/netinet6/nd6.h
289
u_short prm_index; /* index for associated ifp */
sys/netinet6/nd6_nbr.c
1039
ip6->ip6_plen = htons((u_short)icmp6len);
sys/netinet6/nd6_nbr.c
577
ip6->ip6_plen = htons((u_short)icmp6len);
sys/netinet6/pim6.h
69
u_short pim_cksum; /* IP style check sum */
sys/netinet6/udp6_output.c
121
u_short fport;
sys/netinet6/udp6_output.c
230
udp6->uh_ulen = htons((u_short)plen);
sys/netinet6/udp6_output.c
240
ip6->ip6_plen = htons((u_short)plen);
sys/netinet6/udp6_usrreq.c
157
ulen = ntohs((u_short)uh->uh_ulen);
sys/netproto/802_11/ieee80211_ht.h
40
u_short txa_flags;
sys/netproto/mpls/mpls_demux.c
44
MPLSP_MPORT_HASH(mpls_label_t label, u_short if_index)
sys/netproto/smb/smb.h
72
#define SMB_HDRMID(p) (*(u_short*)((u_char*)(p) + 30))
sys/netproto/smb/smb_conn.c
714
u_short
sys/netproto/smb/smb_conn.c
717
u_short r;
sys/netproto/smb/smb_conn.h
164
u_short tid; /* TID */
sys/netproto/smb/smb_conn.h
265
u_short vc_smbuid; /* unique vc id assigned by server */
sys/netproto/smb/smb_conn.h
268
u_short vc_hflags2; /* or'ed with flags in the smb header */
sys/netproto/smb/smb_conn.h
273
u_short vc_mid; /* multiplex id */
sys/netproto/smb/smb_conn.h
303
u_short ss_tid; /* TID */
sys/netproto/smb/smb_conn.h
382
u_short smb_vc_nextmid(struct smb_vc *vcp);
sys/netproto/smb/smb_dev.h
100
u_short ioc_tbc;
sys/netproto/smb/smb_dev.h
105
u_short ioc_rbc;
sys/netproto/smb/smb_dev.h
115
u_short ioc_tparamcnt;
sys/netproto/smb/smb_dev.h
117
u_short ioc_tdatacnt;
sys/netproto/smb/smb_dev.h
119
u_short ioc_rparamcnt;
sys/netproto/smb/smb_dev.h
121
u_short ioc_rdatacnt;
sys/netproto/smb/smb_iod.c
311
u_short mid;
sys/netproto/smb/smb_rq.c
236
rqp->sr_bcount = (u_short*)mb_reserve(&rqp->sr_rq, sizeof(u_short));
sys/netproto/smb/smb_rq.c
376
smb_t2_alloc(struct smb_connobj *layer, u_short setup, struct smb_cred *scred,
sys/netproto/smb/smb_rq.c
394
smb_t2_init(struct smb_t2rq *t2p, struct smb_connobj *source, u_short setup,
sys/netproto/smb/smb_rq.h
150
int smb_t2_alloc(struct smb_connobj *layer, u_short setup, struct smb_cred *scred,
sys/netproto/smb/smb_rq.h
152
int smb_t2_init(struct smb_t2rq *rqp, struct smb_connobj *layer, u_short setup,
sys/netproto/smb/smb_rq.h
80
u_short sr_mid;
sys/netproto/smb/smb_rq.h
87
u_short * sr_bcount;
sys/netproto/smb/smb_trantcp.c
207
u_short port;
sys/platform/pc64/x86_64/db_interface.c
96
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
sys/platform/pc64/x86_64/efirt.c
155
vm_ooffset_t foff, struct ucred *cred, u_short *color)
sys/platform/pc64/x86_64/machdep.c
2275
ebda_addr = (u_long)(*(u_short *)(KERNBASE + 0x40e));
sys/platform/pc64/x86_64/mp_machdep.c
446
*((volatile u_short *) WARMBOOT_OFF) = WARMBOOT_TARGET;
sys/platform/pc64/x86_64/mp_machdep.c
447
*((volatile u_short *) WARMBOOT_SEG) = (boot_address >> 4);
sys/platform/pc64/x86_64/mp_machdep.c
516
*((volatile u_short *) WARMBOOT_OFF) = WARMBOOT_TARGET;
sys/platform/pc64/x86_64/mp_machdep.c
517
*((volatile u_short *) WARMBOOT_SEG) = (boot_addr >> 4);
sys/platform/pc64/x86_64/mptable.c
104
u_short base_table_length;
sys/platform/pc64/x86_64/mptable.c
110
u_short oem_table_size;
sys/platform/pc64/x86_64/mptable.c
111
u_short entry_count;
sys/platform/pc64/x86_64/mptable.c
113
u_short extended_table_length;
sys/platform/pc64/x86_64/mptable.c
147
u_short int_flags;
sys/platform/pc64/x86_64/npx.c
146
u_short control = __INITIAL_FPUCW__;
sys/platform/pc64/x86_64/npx.c
480
u_short status;
sys/platform/vkernel64/x86_64/db_interface.c
94
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
sys/platform/vkernel64/x86_64/npx.c
132
u_short control = __INITIAL_FPUCW__;
sys/platform/vkernel64/x86_64/npx.c
368
u_short status;
sys/sys/atomic_common.h
108
__atomic_store_generic(p, v, short, u_short, short)
sys/sys/atomic_common.h
41
#define __atomic_load_short_relaxed(p) (*(volatile u_short *)(p))
sys/sys/atomic_common.h
54
(*(volatile u_short *)(p) = (u_short)(v))
sys/sys/atomic_common.h
98
#define atomic_load_short(p) __atomic_load_generic(p, short, u_short, short)
sys/sys/bus_private.h
123
u_short flags;
sys/sys/cdio.h
147
u_short len;
sys/sys/cdio.h
157
u_short data_len;
sys/sys/consio.h
200
u_short font_size;
sys/sys/consio.h
201
u_short mv_row, mv_col;
sys/sys/consio.h
202
u_short mv_rsz, mv_csz;
sys/sys/devfs.h
111
u_short mode; /* files access mode and type */
sys/sys/devfs.h
375
int devfs_set_perms(struct devfs_node *, uid_t, gid_t, u_short, u_long);
sys/sys/devfs_rules.h
63
u_short mode; /* files access mode and type */
sys/sys/devfs_rules.h
81
u_short mode; /* files access mode and type */
sys/sys/event.h
189
u_short f_flags;
sys/sys/event.h
67
u_short flags;
sys/sys/gmon.h
122
#define MAXARCS (((u_long)1 << (8 * sizeof(u_short))) - 2)
sys/sys/gmon.h
127
u_short link;
sys/sys/gmon.h
128
u_short pad;
sys/sys/gmon.h
154
u_short *froms;
sys/sys/gtaskqueue.h
57
u_short ta_priority; /* (c) Priority */
sys/sys/in_cksum.h
84
static __inline u_short
sys/sys/in_cksum.h
85
in_addword(u_short sum, u_short b)
sys/sys/in_cksum.h
93
static __inline u_short
sys/sys/kbio.h
119
u_short n_keys;
sys/sys/kbio.h
132
u_short n_keys;
sys/sys/kbio.h
208
u_short n_accs;
sys/sys/kbio.h
214
u_short keynum;
sys/sys/kbio.h
226
u_short keynum;
sys/sys/kinfo.h
213
u_short kp_exitstat; /* exit status information */
sys/sys/mount.h
83
u_short fid_len; /* length of data in bytes */
sys/sys/mount.h
84
u_short fid_ext; /* extended data */
sys/sys/namecache.h
133
u_short nc_flag;
sys/sys/proc.h
303
u_short p_xstat; /* Exit status or last stop signal */
sys/sys/proc.h
304
u_short p_depth; /* Used to downscale resource limits */
sys/sys/proc.h
311
u_short p_acflag; /* Accounting flags. */
sys/sys/rtprio.h
74
u_short type;
sys/sys/rtprio.h
75
u_short prio;
sys/sys/sglist.h
56
u_short sg_nseg;
sys/sys/sglist.h
57
u_short sg_maxseg;
sys/sys/sglist.h
64
sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs)
sys/sys/socketvar.h
141
u_short so_error; /* error affecting connection */
sys/sys/socketvar.h
142
u_short so_rerror; /* error affecting receiving */
sys/sys/socketvar.h
221
u_short so_error;
sys/sys/soundcard.h
302
u_short left, right; /* how many levels are supported */
sys/sys/soundcard.h
530
u_short data16[2000];
sys/sys/soundcard.h
709
u_short key; /* FM_PATCH or OPL3_PATCH */
sys/sys/usched.h
61
u_short rqtype; /* protected copy of rtprio type */
sys/sys/usched.h
62
u_short unused02;
sys/sys/usched.h
71
u_short rqtype; /* protected copy of rtprio type */
sys/sys/usched.h
72
u_short qcpu; /* which cpu are we enqueued on? */
sys/sys/usched.h
73
u_short rrcount; /* reset when moved to runq tail */
sys/sys/usched.h
74
u_short unused01;
sys/sys/usched.h
75
u_short unused02;
sys/sys/usched.h
76
u_short unused03;
sys/sys/usched_dfly.h
105
u_short scancpu;
sys/sys/vfscache.h
123
u_short va_mode; /* files access mode and type */
sys/sys/vfscache.h
157
u_short va_mode; /* files access mode and type */
sys/vfs/devfs/devfs_core.c
2273
u_short mode, u_long flags)
sys/vfs/devfs/devfs_vnops.c
1388
u_short mode;
sys/vfs/isofs/cd9660/cd9660_lookup.c
107
u_short namelen;
sys/vfs/isofs/cd9660/cd9660_node.h
56
u_short iso_mode; /* files access mode and type */
sys/vfs/isofs/cd9660/cd9660_rrip.c
477
u_short c;
sys/vfs/isofs/cd9660/cd9660_rrip.c
635
u_short *outlen, ino_t *inump, struct iso_mnt *imp)
sys/vfs/isofs/cd9660/cd9660_rrip.c
639
u_short c;
sys/vfs/isofs/cd9660/cd9660_rrip.c
675
u_short *outlen, struct iso_mnt *imp)
sys/vfs/isofs/cd9660/cd9660_util.c
106
u_short c, d;
sys/vfs/isofs/cd9660/cd9660_util.c
165
isofntrans(u_char *infn, int infnlen, u_char *outfn, u_short *outfnlen, int original,
sys/vfs/isofs/cd9660/cd9660_util.c
168
u_short c, d = '\0';
sys/vfs/isofs/cd9660/cd9660_util.c
194
u_short
sys/vfs/isofs/cd9660/cd9660_util.c
200
u_short c = '\0';
sys/vfs/isofs/cd9660/cd9660_util.c
55
isochar(u_char *isofn, u_char *isoend, int joliet_level, u_short *c,
sys/vfs/isofs/cd9660/cd9660_vnops.c
435
u_short namelen;
sys/vfs/isofs/cd9660/cd9660_vnops.c
631
u_short symlen;
sys/vfs/isofs/cd9660/iso.h
273
int isochar(u_char *, u_char *, int, u_short *, int *, int, void *);
sys/vfs/isofs/cd9660/iso.h
275
void isofntrans(u_char *, int, u_char *, u_short *, int, int, int, int, void *);
sys/vfs/isofs/cd9660/iso.h
277
u_short sgetrune(const char *, size_t, char const **, int, void *);
sys/vfs/isofs/cd9660/iso_rrip.h
69
u_short *outlen; /* length of above */
sys/vfs/isofs/cd9660/iso_rrip.h
70
u_short maxlen; /* maximum length of above */
sys/vfs/isofs/cd9660/iso_rrip.h
79
char *outbuf, u_short *outlen,
sys/vfs/isofs/cd9660/iso_rrip.h
82
char *outbuf, u_short *outlen,
sys/vfs/msdosfs/denode.h
161
u_short de_CTime; /* creation time */
sys/vfs/msdosfs/denode.h
162
u_short de_CDate; /* creation date */
sys/vfs/msdosfs/denode.h
163
u_short de_ADate; /* access date */
sys/vfs/msdosfs/denode.h
164
u_short de_MTime; /* modification time */
sys/vfs/msdosfs/denode.h
165
u_short de_MDate; /* modification date */
sys/vfs/msdosfs/denode.h
258
u_short defid_len; /* length of structure */
sys/vfs/msdosfs/denode.h
259
u_short defid_pad; /* force long alignment */
sys/vfs/nfs/nfs_subs.c
664
u_short vmode;
sys/vfs/nfs/nfs_subs.c
675
vmode = fxdr_unsigned(u_short, fp->fa_mode);
sys/vfs/nfs/nfs_subs.c
681
vmode = fxdr_unsigned(u_short, fp->fa_mode);
sys/vfs/nfs/nfs_subs.c
761
vap->va_nlink = fxdr_unsigned(u_short, fp->fa_nlink);
sys/vfs/nfs/nfs_subs.c
773
vap->va_nlink = fxdr_unsigned(u_short, fp->fa_nlink);
sys/vfs/nfs/nfs_syscalls.c
637
u_short port;
sys/vfs/procfs/procfs.h
70
u_short pfs_mode; /* mode bits for stat() */
sys/vfs/smbfs/smbfs_smb.c
352
smbfs_smb_setpattrNT(struct smbnode *np, u_short attr, struct timespec *mtime,
sys/vfs/smbfs/smbfs_subr.c
106
static u_short lastddate;
sys/vfs/smbfs/smbfs_subr.c
107
static u_short lastdtime;
sys/vfs/smbfs/smbfs_subr.c
151
u_short *months;
sys/vfs/smbfs/smbfs_subr.c
210
static u_short lastdosdate;
sys/vfs/smbfs/smbfs_subr.c
221
u_short *months;
sys/vfs/smbfs/smbfs_subr.c
87
static u_short regyear[] = {
sys/vfs/smbfs/smbfs_subr.c
95
static u_short leapyear[] = {
sys/vfs/udf/udf_vfsops.c
585
u_short ifid_len;
sys/vfs/udf/udf_vfsops.c
586
u_short ifid_pad;
sys/vm/device_pager.c
115
u_short color;
sys/vm/device_pager.c
313
vm_ooffset_t foff, struct ucred *cred, u_short *color)
sys/vm/device_pager.c
85
vm_ooffset_t foff, struct ucred *cred, u_short *pg_color);
sys/vm/vm_object.h
147
u_short flags; /* see below */
sys/vm/vm_object.h
148
u_short pg_color; /* color of first page in obj */
sys/vm/vm_page.c
1020
static __inline u_short
sys/vm/vm_page.c
1024
u_short queue;
sys/vm/vm_page.c
1025
u_short oqueue;
sys/vm/vm_page.c
1087
_vm_page_add_queue_spinlocked(vm_page_t m, u_short queue, int athead)
sys/vm/vm_page.c
1176
u_short
sys/vm/vm_page.c
1179
u_short pg_color;
sys/vm/vm_page.c
128
static vm_page_t vm_page_select_cache(u_short pg_color);
sys/vm/vm_page.c
1960
u_short queue;
sys/vm/vm_page.c
2315
vm_page_select_cache(u_short pg_color)
sys/vm/vm_page.c
2369
vm_page_select_free(u_short pg_color)
sys/vm/vm_page.c
2428
vm_page_select_free_or_cache(u_short pg_color, int *fromcachep)
sys/vm/vm_page.c
2534
u_short pg_color;
sys/vm/vm_page.c
3049
u_short oqueue;
sys/vm/vm_page.c
3335
u_short oqueue;
sys/vm/vm_page.c
916
u_short queue;
sys/vm/vm_page.c
929
u_short queue;
sys/vm/vm_page.c
939
_vm_page_queues_spin_lock(u_short queue)
sys/vm/vm_page.c
949
_vm_page_queues_spin_unlock(u_short queue)
sys/vm/vm_page.c
963
vm_page_queues_spin_lock(u_short queue)
sys/vm/vm_page.c
975
vm_page_queues_spin_unlock(u_short queue)
sys/vm/vm_page.h
487
void vm_page_queues_spin_lock(u_short);
sys/vm/vm_page.h
491
void vm_page_queues_spin_unlock(u_short);
sys/vm/vm_page.h
565
u_short vm_get_pg_color(int cpuid, vm_object_t object, vm_pindex_t pindex);
sys/vm/vm_pager.h
175
vm_ooffset_t foff, struct ucred *cred, u_short *color);
test/testcases/sysv/sysvsem/semtest.c
82
u_short *array; /* array for GETALL & SETALL */
tools/diag/dumpvfscache/dumpvfscache.c
22
static u_short
tools/diag/dumpvfscache/dumpvfscache.c
25
u_short crc = 0;
tools/regression/sockets/sigpipe/sigpipe.c
189
tcp_setup(u_short port)
tools/regression/sockets/sigpipe/sigpipe.c
218
tcp_pair(u_short port, int sock[2])
tools/tools/net80211/w00t/redir/redir.c
209
u_short oddbyte;
tools/tools/net80211/w00t/redir/redir.c
210
register u_short answer;
tools/tools/net80211/wesside/dics/dics.c
59
u_short ippseudo_len; /* protocol length */
tools/tools/net80211/wesside/dics/dics.c
73
u_short oddbyte;
tools/tools/net80211/wesside/dics/dics.c
74
register u_short answer;
tools/tools/net80211/wesside/wesside/wesside.c
195
u_short oddbyte;
tools/tools/net80211/wesside/wesside/wesside.c
196
register u_short answer;
tools/tools/net80211/wesside/wesside/wesside.c
68
u_short ippseudo_len; /* protocol length */
tools/tools/net80211/wlanwatch/wlanwatch.c
218
{ u_short *s = (u_short *)sa;
tools/tools/net80211/wlanwatch/wlanwatch.c
219
u_short *slim = s + ((sa->sa_len + 1) >> 1);
tools/tools/netrate/accept_connect/kq_connect_client/kq_connect_client.c
43
u_short port;
tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c
202
u_short port;
tools/tools/netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c
160
u_short port = RECV_PORT;
tools/tools/netrate/pktgen/pktgen.c
428
u_short ulen, psum;
tools/tools/netrate/pktgen/pktgen.c
468
psum = htons((u_short)pktg->pktg_datalen + sizeof(struct udphdr) +
usr.bin/bc/bc.y
107
static u_short var_count;
usr.bin/bc/bc.y
857
u_short num;
usr.bin/compress/zopen.c
105
u_short zs_codetab [HSIZE];
usr.bin/compress/zopen.c
541
tab_prefixof(code) = (u_short) oldcode;
usr.bin/fstat/fstat.c
900
if ((u_short)so.so_type > STYPEMAX)
usr.bin/getent/getent.c
513
se = getservbyport(htons((u_short)id), proto);
usr.bin/gzip/zuncompress.c
311
tab_prefixof(zs->u.r.zs_code) = (u_short) zs->u.r.zs_oldcode;
usr.bin/gzip/zuncompress.c
95
u_short zs_codetab [HSIZE];
usr.bin/ipcs/ipcs.c
82
fmt_perm(u_short mode)
usr.bin/netstat/inet.c
943
sprintf(cp, "%d ", ntohs((u_short)port));
usr.bin/netstat/inet6.c
1051
sprintf(cp, "%d", ntohs((u_short)port));
usr.bin/netstat/route.c
100
u_short u_data[128];
usr.bin/netstat/route.c
651
(u_int32_t)ntohs(*(u_short *)&in6->s6_addr[2]);
usr.bin/netstat/route.c
652
*(u_short *)&in6->s6_addr[2] = 0;
usr.bin/rpcinfo/rpcinfo.c
123
static void ip_ping(u_short, char *, int, char **);
usr.bin/rpcinfo/rpcinfo.c
163
u_short portnum = 0;
usr.bin/rpcinfo/rpcinfo.c
197
portnum = (u_short) strtol(optarg, &strptr, 10);
usr.bin/rpcinfo/rpcinfo.c
364
ip_ping(u_short portnum, char *trans, int argc, char **argv)
usr.bin/systat/netstat.c
403
ntohs((u_short)port));
usr.bin/talk/ctl.c
51
u_short daemon_port; /* port number of the talk daemon */
usr.bin/talk/talk_ctl.h
37
extern u_short daemon_port;
usr.bin/tftp/tftp.c
121
dp->th_opcode = htons((u_short)DATA);
usr.bin/tftp/tftp.c
122
dp->th_block = htons((u_short)block);
usr.bin/tftp/tftp.c
233
ap->th_opcode = htons((u_short)ACK);
usr.bin/tftp/tftp.c
234
ap->th_block = htons((u_short)(block));
usr.bin/tftp/tftp.c
308
ap->th_opcode = htons((u_short)ACK); /* has seen err msg */
usr.bin/tftp/tftp.c
309
ap->th_block = htons((u_short)block);
usr.bin/tftp/tftp.c
324
tp->th_opcode = htons((u_short)request);
usr.bin/tftp/tftp.c
364
tp->th_opcode = htons((u_short)ERROR);
usr.bin/tftp/tftp.c
365
tp->th_code = htons((u_short)error);
usr.bin/tftp/tftp.c
387
u_short op = ntohs(tp->th_opcode);
usr.sbin/inetd/builtins.c
352
u_short lport, fport;
usr.sbin/mld6query/mld6query.c
103
ifindex = (u_short)if_nametoindex(argv[0]);
usr.sbin/mld6query/mld6query.c
164
u_short rtalert_code = htons(IP6OPT_RTALERT_MLD);
usr.sbin/mld6query/mld6query.c
208
memcpy(&raopt[2], (caddr_t)&rtalert_code, sizeof(u_short));
usr.sbin/mld6query/mld6query.c
61
static u_short ifindex;
usr.sbin/mtree/create.c
334
u_short maxgid, maxuid, maxmode, maxflags;
usr.sbin/mtree/create.c
335
u_short g[MTREE_MAXGID], u[MTREE_MAXUID],
usr.sbin/ppp/acf.c
55
acf_WrapperOctets(struct lcp *lcp, u_short proto)
usr.sbin/ppp/acf.c
62
int pri __unused, u_short *proto)
usr.sbin/ppp/acf.c
76
u_short *proto __unused)
usr.sbin/ppp/acf.h
32
extern int acf_WrapperOctets(struct lcp *, u_short);
usr.sbin/ppp/async.c
104
int pri __unused, u_short *proto)
usr.sbin/ppp/async.c
187
u_short *proto __unused)
usr.sbin/ppp/auth.c
81
Auth2Nam(u_short auth, u_char type)
usr.sbin/ppp/auth.h
59
extern const char *Auth2Nam(u_short, u_char);
usr.sbin/ppp/bundle.c
456
u_short ifqueue;
usr.sbin/ppp/bundle.h
110
u_short ifqueue; /* Interface queue size */
usr.sbin/ppp/ccp.c
715
int pri, u_short *proto)
usr.sbin/ppp/ccp.c
745
u_short *proto)
usr.sbin/ppp/ccp.c
783
u_short
usr.sbin/ppp/ccp.h
135
struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *);
usr.sbin/ppp/ccp.h
136
void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *);
usr.sbin/ppp/ccp.h
146
struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *,
usr.sbin/ppp/ccp.h
160
extern u_short ccp_Proto(struct ccp *);
usr.sbin/ppp/command.c
1624
u_short *change;
usr.sbin/ppp/deflate.c
200
DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi)
usr.sbin/ppp/deflate.c
313
*proto = ((u_short)wp[0] << 8) | wp[1];
usr.sbin/ppp/deflate.c
338
DeflateDictSetup(void *v, struct ccp *ccp, u_short proto, struct mbuf *mi)
usr.sbin/ppp/deflate.c
45
u_short seqno;
usr.sbin/ppp/deflate.c
71
int pri __unused, u_short *proto, struct mbuf *mp)
usr.sbin/ppp/filter.h
69
u_short f_srcport; /* Source port, compared with f_srcop */
usr.sbin/ppp/filter.h
70
u_short f_dstport; /* Destination port, compared with f_dstop */
usr.sbin/ppp/fsm.c
142
fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode,
usr.sbin/ppp/fsm.c
881
u_short proto;
usr.sbin/ppp/fsm.c
997
u_short len;
usr.sbin/ppp/fsm.h
104
u_short proto; /* Protocol number */
usr.sbin/ppp/fsm.h
105
u_short min_code;
usr.sbin/ppp/fsm.h
106
u_short max_code;
usr.sbin/ppp/fsm.h
146
u_short length; /* Length of packet */
usr.sbin/ppp/fsm.h
184
extern void fsm_Init(struct fsm *, const char *, u_short, int, int, int,
usr.sbin/ppp/hdlc.c
109
u_short
usr.sbin/ppp/hdlc.c
112
u_short fcs = INITFCS;
usr.sbin/ppp/hdlc.c
120
static inline u_short
usr.sbin/ppp/hdlc.c
121
HdlcFcsBuf(u_short fcs, struct mbuf *m)
usr.sbin/ppp/hdlc.c
142
struct mbuf *bp, int pri __unused, u_short *proto __unused)
usr.sbin/ppp/hdlc.c
146
u_short fcs;
usr.sbin/ppp/hdlc.c
174
u_short from;
usr.sbin/ppp/hdlc.c
175
u_short to;
usr.sbin/ppp/hdlc.c
288
hdlc_Protocol2Nam(u_short proto)
usr.sbin/ppp/hdlc.c
302
u_short *proto __unused)
usr.sbin/ppp/hdlc.c
305
u_short fcs;
usr.sbin/ppp/hdlc.h
104
extern const char *hdlc_Protocol2Nam(u_short);
usr.sbin/ppp/hdlc.h
105
extern void hdlc_DecodePacket(struct bundle *, u_short, struct mbuf *,
usr.sbin/ppp/hdlc.h
108
extern u_short hdlc_Fcs(u_char *, size_t);
usr.sbin/ppp/ip.c
103
dns_Qclass2Txt(u_short qclass)
usr.sbin/ppp/ip.c
107
u_short id;
usr.sbin/ppp/ip.c
123
dns_Qtype2Txt(u_short qtype)
usr.sbin/ppp/ip.c
127
u_short id;
usr.sbin/ppp/ip.c
150
PortMatch(int op, u_short pport, u_short rport)
usr.sbin/ppp/ip.c
196
u_short sport, dport; /* src, dest port from packet if (gotinfo) */
usr.sbin/ppp/ip.c
473
const u_short *pktptr;
usr.sbin/ppp/ip.c
475
u_short *hptr, tmp;
usr.sbin/ppp/ip.c
483
pktptr = (const u_short *)ptr;
usr.sbin/ppp/ip.c
484
hptr = (u_short *)&header;
usr.sbin/ppp/ip.c
488
while (pktptr < (const u_short *)ptr) {
usr.sbin/ppp/ip.c
646
u_short proto;
usr.sbin/ppp/ip.c
817
const u_short *sp;
usr.sbin/ppp/ip.c
819
sp = (const u_short *)(payload + 20);
usr.sbin/ppp/ip.c
87
u_short id;
usr.sbin/ppp/ip.c
96
u_short qdcount;
usr.sbin/ppp/ip.c
97
u_short ancount;
usr.sbin/ppp/ip.c
98
u_short nscount;
usr.sbin/ppp/ip.c
99
u_short arcount;
usr.sbin/ppp/ipcp.c
105
u_short proto;
usr.sbin/ppp/layer.h
50
int pri, u_short *proto);
usr.sbin/ppp/layer.h
52
u_short *);
usr.sbin/ppp/lcp.c
385
u_short maxmru;
usr.sbin/ppp/lcp.c
663
u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto;
usr.sbin/ppp/lcp.c
86
u_short proto; /* Quality protocol */
usr.sbin/ppp/lcp.h
57
u_short his_auth; /* Peer wants this type of authentication */
usr.sbin/ppp/lcp.h
65
u_short want_mru; /* Our maximum packet size */
usr.sbin/ppp/lcp.h
66
u_short want_mrru; /* Our maximum reassembled packet size (MP) */
usr.sbin/ppp/lcp.h
70
u_short want_auth; /* We want this type of authentication */
usr.sbin/ppp/lcp.h
80
u_short auth_iwait; /* I must authenticate to the peer */
usr.sbin/ppp/lcp.h
81
u_short auth_ineed; /* I require that the peer authenticates */
usr.sbin/ppp/lcp.h
86
u_short mru; /* Preferred MRU value */
usr.sbin/ppp/lcp.h
87
u_short max_mru; /* Preferred MRU value */
usr.sbin/ppp/lcp.h
88
u_short mtu; /* Preferred MTU */
usr.sbin/ppp/lcp.h
89
u_short max_mtu; /* Preferred MTU */
usr.sbin/ppp/libradius/radlib.c
426
srvp->addr.sin_port = htons((u_short)port);
usr.sbin/ppp/link.c
171
u_short number;
usr.sbin/ppp/link.c
190
link_ProtocolRecord(struct link *l, u_short proto, int type)
usr.sbin/ppp/link.c
225
u_short proto)
usr.sbin/ppp/link.c
254
u_short lproto[LAYER_MAX], proto;
usr.sbin/ppp/link.c
325
u_short proto;
usr.sbin/ppp/link.c
348
Despatch(struct bundle *bundle, struct link *l, struct mbuf *bp, u_short proto)
usr.sbin/ppp/link.c
74
static void Despatch(struct bundle *, struct link *, struct mbuf *, u_short);
usr.sbin/ppp/link.h
72
int, u_short);
usr.sbin/ppp/link.h
79
extern void link_ProtocolRecord(struct link *, u_short, int);
usr.sbin/ppp/lqr.c
361
int pri __unused, u_short *proto)
usr.sbin/ppp/lqr.c
433
struct mbuf *bp, u_short *proto)
usr.sbin/ppp/mbuf.c
244
m_prepend(struct mbuf *bp, const void *ptr, size_t len, u_short extra)
usr.sbin/ppp/mbuf.h
109
extern struct mbuf *m_prepend(struct mbuf *, const void *, size_t, u_short);
usr.sbin/ppp/mbuf.h
33
u_short m_offset; /* offset from header end to start position */
usr.sbin/ppp/mp.h
79
u_short peer_mrru;
usr.sbin/ppp/mp.h
80
u_short local_mrru;
usr.sbin/ppp/mp.h
97
u_short mrru; /* Max Reconstructed Receive Unit */
usr.sbin/ppp/mppe.c
160
u_short *proto, struct mbuf *mp)
usr.sbin/ppp/mppe.c
164
u_short nproto, prefix;
usr.sbin/ppp/mppe.c
242
MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp)
usr.sbin/ppp/mppe.c
245
u_short prefix;
usr.sbin/ppp/mppe.c
377
u_short proto __unused, struct mbuf *mp __unused)
usr.sbin/ppp/nat_cmd.c
112
u_short hlocalport, llocalport;
usr.sbin/ppp/nat_cmd.c
114
u_short haliasport, laliasport;
usr.sbin/ppp/nat_cmd.c
116
u_short hremoteport, lremoteport;
usr.sbin/ppp/nat_cmd.c
324
StrToPort(const char *str, u_short *port, const char *proto)
usr.sbin/ppp/nat_cmd.c
344
StrToPortRange(const char *str, u_short *low, u_short *high, const char *proto)
usr.sbin/ppp/nat_cmd.c
369
StrToAddrAndPort(const char *str, struct in_addr *addr, u_short *low,
usr.sbin/ppp/nat_cmd.c
370
u_short *high, const char *proto)
usr.sbin/ppp/nat_cmd.c
475
int pri __unused, u_short *proto)
usr.sbin/ppp/nat_cmd.c
492
u_short *proto)
usr.sbin/ppp/nat_cmd.c
86
static int StrToPortRange(const char *, u_short *, u_short *, const char *);
usr.sbin/ppp/nat_cmd.c
87
static int StrToAddrAndPort(const char *, struct in_addr *, u_short *,
usr.sbin/ppp/nat_cmd.c
88
u_short *, const char *);
usr.sbin/ppp/nat_cmd.c
91
lowhigh(u_short *a, u_short *b)
usr.sbin/ppp/nat_cmd.c
94
u_short c;
usr.sbin/ppp/ncp.c
101
ncp->cfg.urgent.tcp.port = (u_short *)malloc(NDEFTCPPORTS * sizeof(u_short));
usr.sbin/ppp/ncp.c
103
NDEFTCPPORTS * sizeof(u_short));
usr.sbin/ppp/ncp.c
353
ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst)
usr.sbin/ppp/ncp.c
365
ncp_AddUrgentPort(struct port_range *range, u_short port)
usr.sbin/ppp/ncp.c
367
u_short *newport;
usr.sbin/ppp/ncp.c
372
newport = (u_short *)realloc(range->port,
usr.sbin/ppp/ncp.c
373
range->maxports * sizeof(u_short));
usr.sbin/ppp/ncp.c
389
(range->nports - p) * sizeof(u_short));
usr.sbin/ppp/ncp.c
400
ncp_RemoveUrgentPort(struct port_range *range, u_short port)
usr.sbin/ppp/ncp.c
408
(range->nports - p - 1) * sizeof(u_short));
usr.sbin/ppp/ncp.c
82
static u_short default_urgent_tcp_ports[] = {
usr.sbin/ppp/ncp.h
33
u_short *port; /* The actual ports */
usr.sbin/ppp/ncp.h
69
extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short);
usr.sbin/ppp/ncp.h
70
extern void ncp_AddUrgentPort(struct port_range *, u_short);
usr.sbin/ppp/ncp.h
71
extern void ncp_RemoveUrgentPort(struct port_range *, u_short);
usr.sbin/ppp/ncpaddr.c
177
ntohs(*(u_short *)&sin6->sin6_addr.s6_addr[2]);
usr.sbin/ppp/ncpaddr.c
178
*(u_short *)&sin6->sin6_addr.s6_addr[2] = 0;
usr.sbin/ppp/ncpaddr.c
901
if ((scopeid = ntohs(*(const u_short *)&sin6->s6_addr[2])) == 0)
usr.sbin/ppp/physical.c
755
u_short
usr.sbin/ppp/physical.h
149
extern u_short physical_DeviceMTU(struct physical *);
usr.sbin/ppp/physical.h
59
u_short mtu;
usr.sbin/ppp/pred.c
176
Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, u_short *proto,
usr.sbin/ppp/pred.c
184
u_short fcs;
usr.sbin/ppp/pred.c
219
Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp)
usr.sbin/ppp/pred.c
226
u_short fcs;
usr.sbin/ppp/pred.c
294
Pred1DictSetup(void *v __unused, struct ccp *ccp __unused, u_short proto __unused, struct mbuf *bp __unused)
usr.sbin/ppp/pred.c
64
u_short hash;
usr.sbin/ppp/proto.c
52
proto_WrapperOctets(struct lcp *lcp, u_short proto)
usr.sbin/ppp/proto.c
58
proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra)
usr.sbin/ppp/proto.c
75
int pri __unused, u_short *proto)
usr.sbin/ppp/proto.c
88
u_short *proto)
usr.sbin/ppp/proto.h
62
extern int proto_WrapperOctets(struct lcp *, u_short);
usr.sbin/ppp/proto.h
63
struct mbuf *proto_Prepend(struct mbuf *, u_short, unsigned, int);
usr.sbin/ppp/server.c
220
u_short port;
usr.sbin/ppp/server.c
310
server_TcpOpen(struct bundle *bundle, u_short port)
usr.sbin/ppp/server.h
42
u_short port; /* tcp socket */
usr.sbin/ppp/server.h
59
extern enum server_stat server_TcpOpen(struct bundle *, u_short);
usr.sbin/ppp/slcompress.c
102
if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \
usr.sbin/ppp/slcompress.c
256
if (((u_short *) ip)[0] != ((u_short *) & cs->cs_ip)[0] ||
usr.sbin/ppp/slcompress.c
257
((u_short *) ip)[3] != ((u_short *) & cs->cs_ip)[3] ||
usr.sbin/ppp/slcompress.c
258
((u_short *) ip)[4] != ((u_short *) & cs->cs_ip)[4] ||
usr.sbin/ppp/slcompress.c
285
deltaS = (u_short) (ntohs(th->th_win) - ntohs(oth->th_win));
usr.sbin/ppp/slcompress.c
422
u_short *bp;
usr.sbin/ppp/slcompress.c
556
bp = (u_short *)&cs->cs_ip;
usr.sbin/ppp/slcompress.c
92
if ((u_short)(n) >= 256) { \
usr.sbin/ppp/slcompress.h
102
u_short cs_hlen; /* size of hdr (receive only) */
usr.sbin/ppp/slcompress.h
122
u_short flags;
usr.sbin/ppp/sync.c
55
int pri __unused, u_short *proto __unused)
usr.sbin/ppp/sync.c
64
u_short *proto __unused)
usr.sbin/ppp/tcpmss.c
173
int pri __unused, u_short *proto __unused)
usr.sbin/ppp/tcpmss.c
180
u_short *proto __unused)
usr.sbin/ppp/tcpmss.c
91
cksum = (u_short) ~acc; \
usr.sbin/ppp/tcpmss.c
95
cksum = (u_short) acc; \
usr.sbin/ppp/vjcomp.c
167
u_short *proto)
usr.sbin/ppp/vjcomp.c
75
u_short *proto)
usr.sbin/ppp/vjcomp.c
79
u_short cproto = bundle->ncp.ipcp.peer_compproto >> 16;
usr.sbin/route6d/route6d.h
50
u_short rip6_tag;
usr.sbin/rrenumd/parser.y
58
u_short cis_dest : 1;
usr.sbin/syslogd/syslogd.c
217
u_short port;
usr.sbin/syslogd/syslogd.c
2363
u_short sport;
usr.sbin/traceroute/traceroute.c
1111
static u_short
usr.sbin/traceroute/traceroute.c
1112
in_cksum(u_short *addr, int len)
usr.sbin/traceroute/traceroute.c
1114
u_short *w = addr, answer;
usr.sbin/traceroute/traceroute.c
261
u_short length;
usr.sbin/traceroute/traceroute.c
289
static u_short in_cksum(u_short *, int);
usr.sbin/traceroute/traceroute.c
304
static u_short ident;
usr.sbin/traceroute/traceroute.c
305
static u_short port = 32768+666; /* start udp dest port # for probe packets */
usr.sbin/traceroute/traceroute.c
806
in_cksum((u_short *)cmn_hdr, data_len)) {
usr.sbin/traceroute/traceroute.c
923
up->uh_ulen = htons((u_short)(datalen - sizeof(struct ip) -
usr.sbin/traceroute/traceroute.c
953
icmpp->icmp_cksum = in_cksum((u_short *)icmpp,
usr.sbin/ypbind/yp_ping.c
109
static u_short
usr.sbin/ypbind/yp_ping.c
113
u_short port = 0;
usr.sbin/ypbind/ypbind.c
225
*(u_short *)&res.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port =
usr.sbin/ypbind/ypbind.c
274
bindsin.sin_port = *(u_short *)argp->ypsetdom_binding.ypbind_binding_port;
usr.sbin/ypbind/ypbind.c
932
*(u_short *)&ybr.ypbind_resp_u.ypbind_bindinfo.ypbind_binding_port = raddrp->sin_port;