Home
last modified time | relevance | path

Searched refs:u_short (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/openbsd/sys/dev/ic/
H A Delink3reg.h198 #define RX_ENABLE (u_short) (0x4<<11)
199 #define RX_RESET (u_short) (0x5<<11)
201 #define TX_ENABLE (u_short) (0x9<<11)
203 #define TX_RESET (u_short) (0xb<<11)
204 #define REQ_INTR (u_short) (0xc<<11)
210 #define ACK_INTR (u_short) (0x6800)
281 #define S_INT_RQD (u_short) (0x0040)
306 #define ERR_RX (u_short) (0x4000)
307 #define ERR_MASK (u_short) (0x7800)
309 #define ERR_RUNT (u_short) (0x5800)
[all …]
H A Di82586reg.h55 u_short mbz; /* must be zero */
83 u_short ie_status; /* status word */
84 u_short ie_command; /* command word */
87 u_short ie_err_crc; /* CRC errors */
88 u_short ie_err_align; /* Alignment errors */
89 u_short ie_err_resource; /* Resource errors */
90 u_short ie_err_overrun; /* Overrun errors */
144 u_short mbz; /* must be zero */
163 u_short mbz; /* must be zero */
173 u_short ie_cmd_cmd; /* command word */
[all …]
H A Ddp8390var.h55 u_short txb_cnt; /* Number of transmit buffers */
56 u_short txb_inuse; /* number of transmit buffers active */
58 u_short txb_new; /* pointer to where new buffer will be added */
59 u_short txb_next_tx; /* pointer to next buffer ready to xmit */
60 u_short txb_len[8]; /* buffered xmit buffer lengths */
61 u_short tx_page_start; /* first page of TX buffer area */
62 u_short rec_page_start; /* first page of RX ring-buffer */
63 u_short rec_page_stop; /* last page of RX ring-buffer */
64 u_short next_packet; /* pointer to next unread RX packet */
75 int, caddr_t, u_short);
[all …]
/openbsd/sys/dev/sun/
H A Ddisklabel.h60 u_short spi_tag; /* filesystem type */
61 u_short spi_flag; /* flags */
96 u_short sl_rpm; /* rotational speed */
101 u_short sl_interleave; /* interleave factor */
102 u_short sl_ncylinders; /* data cylinders */
103 u_short sl_acylinders; /* alternate cylinders */
104 u_short sl_ntracks; /* tracks per cylinder */
105 u_short sl_nsectors; /* sectors per track */
108 u_short sl_magic; /* == SUN_DKMAGIC */
109 u_short sl_cksum; /* xor checksum of all shorts */
[all …]
/openbsd/sys/arch/luna88k/stand/boot/
H A Dbmd.c124 void bmd_erase_screen(volatile u_short *);
125 void bmd_scroll_screen(volatile u_short *, volatile u_short *,
376 bmd_scroll_screen((u_short *) bp->bc_raddr, in bmdputc()
377 (u_short *) bp->bc_waddr, in bmdputc()
403 bmd_scroll_screen((u_short *) bp->bc_raddr, in bmdputc()
404 (u_short *) bp->bc_waddr, in bmdputc()
468 volatile u_short *p, *q; in bmd_draw_char()
469 const u_short *fp; in bmd_draw_char()
530 volatile u_short *p, *q; in bmd_reverse_char()
596 bmd_erase_screen(volatile u_short *p) in bmd_erase_screen()
[all …]
/openbsd/usr.sbin/mksuncd/
H A Dmksuncd.c101 u_short sl_rpm; /* rotational speed */
102 u_short sl_pcylinders; /* number of physical cyls */
106 u_short sl_interleave; /* interleave factor */
107 u_short sl_ncylinders; /* data cylinders */
108 u_short sl_acylinders; /* alternate cylinders */
109 u_short sl_ntracks; /* tracks per cylinder */
110 u_short sl_nsectors; /* sectors per track */
113 u_short sl_magic; /* == SUN_DKMAGIC */
114 u_short sl_cksum; /* xor checksum of all shorts */
262 u_short sum = 0, *sp; in adjust_label()
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dospf.h96 u_short ls_age;
102 u_short ls_chksum;
103 u_short ls_length;
116 u_short rla_count;
122 u_short link_tos0metric;
163 u_short tos_metric;
174 u_short ospf_len;
177 u_short ospf_chksum;
178 u_short ospf_authtype;
185 u_short hello_helloint;
H A Dipx.h18 u_short cksum; /* Checksum */
19 u_short length; /* Length, in bytes, including header */
22 u_short dstNet[2]; /* destination net */
24 u_short dstSkt; /* destination socket */
25 u_short srcNet[2]; /* source net */
27 u_short srcSkt; /* source socket */
H A Dappletalk.h40 u_short length;
41 u_short checksum;
42 u_short dstNet;
43 u_short srcNet;
52 u_short length;
80 u_short transID;
117 u_short net;
H A Digrp.h16 u_short ig_as; /* autonomous system number */
17 u_short ig_ni; /* number of subnet in local net */
18 u_short ig_ns; /* number of networks in AS */
19 u_short ig_nx; /* number of networks outside AS */
20 u_short ig_sum; /* checksum of IGRP header & data */
H A Dprint-l2tp.c238 u_short *ptr = (u_short *)dat; in l2tp_msgtype_print()
249 u_short *ptr = (u_short *)dat; in l2tp_result_code_print()
303 print_short((u_short *)dat); in l2tp_firm_ver_print()
321 print_short((u_short *)dat); in l2tp_assnd_tun_id_print()
327 print_short((u_short *)dat); in l2tp_recv_win_size_print()
339 print_short((u_short *)dat); in l2tp_q931_cc_print()
356 print_short((u_short *)dat); in l2tp_assnd_sess_id_print()
460 u_short *ptr = (u_short *)dat; in l2tp_proxy_auth_type_print()
501 u_short *ptr = (u_short *)dat; in l2tp_proxy_auth_id_print()
564 const u_short *ptr = (u_short *)dat; in l2tp_avp_print()
[all …]
H A Dprint-ipx.c49 void ipx_sap_print(const u_short *, u_int);
50 void ipx_rip_print(const u_short *, u_int);
93 u_short dstSkt; in ipx_decode()
101 ipx_sap_print((u_short *)datap, length); in ipx_decode()
104 ipx_rip_print((u_short *)datap, length); in ipx_decode()
119 ipx_sap_print(const u_short *ipx, u_int length) in ipx_sap_print()
171 ipx_rip_print(const u_short *ipx, u_int length) in ipx_rip_print()
H A Dinterface.h164 extern char *dnaddr_string(u_short);
180 extern char *dnname_string(u_short);
181 extern char *dnnum_string(u_short);
187 extern int ether_encap_print(u_short, const u_char *, u_int, u_int);
190 extern int pppoe_if_print(u_short, const u_char *, u_int, u_int);
196 extern void bootp_print(const u_char *, u_int, u_short, u_short);
230 extern void netbeui_print(u_short, const u_char *, const u_char *);
284 extern void gtp_print(const u_char *, u_int, u_short, u_short);
/openbsd/sbin/disklabel/
H A Ddkcksum.c38 u_short
41 u_short *start, *end; in dkcksum()
42 u_short sum = 0; in dkcksum()
44 start = (u_short *)lp; in dkcksum()
45 end = (u_short *)&lp->d_partitions[lp->d_npartitions]; in dkcksum()
/openbsd/usr.sbin/mopd/common/
H A Dget.c40 u_short
43 u_short ret; in mopGetShort()
50 u_short
53 u_short ret; in mopGetNShort()
84 u_short ptype; in mopGetTrans()
98 u_short *proto, int *len, int trans) in mopGetHeader()
117 u_short
/openbsd/libexec/snmpd/snmpd_metrics/
H A Dsnmpd.h119 u_short if_index;
129 u_short if_index;
135 u_short if_index;
145 u_short flags;
146 u_short if_index;
160 u_short if_index;
239 struct kif *kr_getif(u_short);
240 struct kif *kr_getnextif(u_short);
247 struct kif_arp *karp_first(u_short);
248 struct kif_arp *karp_getaddr(struct sockaddr *, u_short, int);
/openbsd/sys/arch/luna88k/cbus/
H A Dnec86hwvar.h60 u_short sc_open; /* reference count of open calls */
83 u_short conv_last0;
84 u_short conv_last0_l;
85 u_short conv_last0_r;
86 u_short conv_last1;
87 u_short conv_last1_l;
88 u_short conv_last1_r;
/openbsd/sys/net/
H A Dif.h284 u_short ifm_msglen; /* to skip over non-understood messages */
287 u_short ifm_hdrlen; /* sizeof(if_msghdr) to skip over the header */
288 u_short ifm_index; /* index for associated ifp */
289 u_short ifm_tableid; /* routing table id */
303 u_short ifam_msglen; /* to skip over non-understood messages */
307 u_short ifam_index; /* index for associated ifp */
308 u_short ifam_tableid; /* routing table id */
320 u_short ifan_msglen; /* to skip over non-understood messages */
323 u_short ifan_hdrlen; /* sizeof(if_announcemsghdr) to skip header */
324 u_short ifan_index; /* index for associated ifp */
[all …]
H A Dif_sppp.h74 u_short proto; /* authentication protocol to use */
75 u_short flags;
152 u_short proto; /* authentication protocol to use */
153 u_short flags;
170 u_short pp_alivecnt; /* keepalive packets counter */
171 u_short pp_loopcnt; /* loopback detection counter */
/openbsd/sys/lib/libsa/
H A Ddkcksum.c45 u_short *start, *end; in dkcksum()
46 u_short sum = 0; in dkcksum()
48 start = (u_short *)lp; in dkcksum()
49 end = (u_short *)&lp->d_partitions[lp->d_npartitions]; in dkcksum()
/openbsd/sys/isofs/cd9660/
H A Diso_rrip.h68 u_short *outlen; /* length of above */
69 u_short maxlen; /* maximum length of above */
76 char *outbuf, u_short *outlen,
79 char *outbuf, u_short *outlen,
/openbsd/usr.sbin/makefs/cd9660/
H A Diso_rrip.h70 u_short *outlen; /* length of above */
71 u_short maxlen; /* maximum length of above */
78 char *outbuf, u_short *outlen,
81 char *outbuf, u_short *outlen,
/openbsd/sys/nfs/
H A Dnfsmount.h74 u_short nm_acregmin; /* Attr cache file recently modified */
75 u_short nm_acregmax; /* ac file not recently modified */
76 u_short nm_acdirmin; /* ac for dir recently modified */
77 u_short nm_acdirmax; /* ac for dir not recently modified */
/openbsd/sys/sys/
H A Dgmon.h103 u_short link;
104 u_short pad;
128 u_short *kcount;
130 u_short *froms;
/openbsd/usr.bin/ssh/
H A Dsshconnect.h71 struct addrinfo *, struct sockaddr_storage *, u_short,
76 struct sockaddr *, u_short, struct passwd *, int,
82 void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short,
85 void ssh_kex2(struct ssh *ssh, char *, struct sockaddr *, u_short,

12345678910>>...15