Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/boot/include/net/
H A Dif.h266 u_short ifm_index; /* index for associated ifp */
288 u_short ifm_index; /* index for associated ifp */
290 u_short ifm_len; /* length of if_msghdrl incl. if_data */
291 u_short ifm_data_off; /* offset of if_data from beginning */
306 u_short ifam_index; /* index for associated ifp */
328 u_short ifam_index; /* index for associated ifp */
330 u_short ifam_len; /* length of ifa_msghdrl incl. if_data */
331 u_short ifam_data_off; /* offset of if_data from beginning */
347 u_short ifmam_index; /* index for associated ifp */
357 u_short ifan_index; /* index for associated ifp */
[all …]
H A Dif_arp.h47 u_short ar_hrd; /* format of hardware address */
54 u_short ar_pro; /* format of protocol address */
57 u_short ar_op; /* one of: */
/illumos-gate/usr/src/lib/libresolv/
H A Dres_mkquery.c194 cp += sizeof (u_short);
196 cp += sizeof (u_short);
210 cp += sizeof (u_short);
212 cp += sizeof (u_short);
216 cp += sizeof (u_short);
228 cp += sizeof (u_short);
230 cp += sizeof (u_short);
234 cp += sizeof (u_short);
267 cp += sizeof (u_short);
269 cp += sizeof (u_short);
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h124 u_short nat_use;
195 u_short in_pnext;
208 u_short in_port[2];
285 u_short nl_inport;
286 u_short nl_outport;
370 u_short nai_port;
371 u_short nai_nport;
372 u_short nai_sport;
373 u_short nai_dport;
413 u_short nlg_inport;
[all …]
H A Dip_state.h57 u_short is_sumd[2];
69 u_short is_sec; /* security options set */
70 u_short is_secmsk; /* " " mask */
71 u_short is_auth; /* authentication options set */
72 u_short is_authmsk; /* " " mask */
83 u_short is_smsk[2];
169 u_short isl_type;
171 u_short isl_filler[2];
172 u_short isl_ports[2];
173 u_short isl_icmp;
H A Dip_proxy.h40 u_short apt_sport; /* source port */
41 u_short apt_dport; /* destination port */
51 u_short apu_sport; /* source port */
52 u_short apu_dport; /* destination port */
191 u_short irc_port;
207 u_short rap_plport;
208 u_short rap_prport;
209 u_short rap_srport;
235 u_short mri_rport;
271 u_short pptp_call[2];
[all …]
H A Dip_fil.h384 u_short fin_off;
534 u_short fri_icmp;
991 u_short ol_val;
1015 u_short ici_id;
1016 u_short ici_seq;
1021 u_short us_sport;
1022 u_short us_dport;
1043 u_short ts_sport;
1070 u_short gr_len;
1071 u_short gr_call;
[all …]
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h266 u_short data; in inw()
491 u_short sel; in rfs()
507 u_short sel; in rgs()
523 u_short ldtr; in rldt()
531 u_short sel; in rss()
539 u_short tr; in rtr()
545 load_fs(u_short sel) in load_fs()
563 lldt(u_short sel) in lldt()
569 ltr(u_short sel) in ltr()
783 u_short rldt(void);
[all …]
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h258 u_short data; in inw()
564 u_short sel; in rfs()
572 u_short sel; in rgs()
580 u_short sel; in rss()
586 load_ds(u_short sel) in load_ds()
592 load_es(u_short sel) in load_es()
618 load_fs(u_short sel) in load_fs()
629 load_gs(u_short sel) in load_gs()
685 lldt(u_short sel) in lldt()
691 ltr(u_short sel) in ltr()
[all …]
/illumos-gate/usr/src/boot/include/netinet/
H A Dudp.h42 u_short uh_sport; /* source port */
43 u_short uh_dport; /* destination port */
44 u_short uh_ulen; /* udp length */
45 u_short uh_sum; /* udp checksum */
H A Dip.h59 u_short ip_len; /* total length */
60 u_short ip_id; /* identification */
61 u_short ip_off; /* fragment offset field */
68 u_short ip_sum; /* checksum */
220 u_short ippseudo_len; /* protocol length */
H A Din_pcb.h295 u_short phd_port;
346 u_short ipi_lastport; /* (x) */
347 u_short ipi_lastlow; /* (x) */
348 u_short ipi_lasthi; /* (x) */
678 in_pcbgroup_bytuple(struct inpcbinfo *, struct in_addr, u_short,
679 struct in_addr, u_short);
690 int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *,
693 u_short *, struct ucred *);
698 u_short *, in_addr_t *, u_short *, struct inpcb **,
710 struct in_addr, u_short, int, struct ucred *);
H A Dif_ether.h96 u_short sin_port;
99 u_short sin_tos;
100 u_short sin_other;
/illumos-gate/usr/src/lib/libresolv/arpa/
H A Dnameser.h149 u_short id; /* query identification number */
183 u_short qdcount; /* number of question entries */
184 u_short ancount; /* number of answer entries */
185 u_short nscount; /* number of authority entries */
186 u_short arcount; /* number of resource entries */
206 extern u_short _getshort();
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Daddicmp.c62 fp->fr_icmp = (u_short)(i << 8);
63 fp->fr_icmpm = (u_short)0xff00;
88 fp->fr_icmp |= (u_short)i;
89 fp->fr_icmpm = (u_short)0xffff;
H A Dportnum.c21 u_short *port;
25 u_short p1 = 0;
30 *port = (u_short)i;
H A Dprintpacket6.c11 u_short plen, *addrs;
20 plen = ntohs(*((u_short *)buf +2));
21 addrs = (u_short *)buf + 4;
H A Dprintpacket.c20 u_short len;
21 u_short off;
25 len = ntohs(((u_short *)ip)[2]) + 40;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dbpf-ipf.h98 u_short bv_major;
99 u_short bv_minor;
153 u_short bh_hdrlen; /* length of bpf header (this struct
404 u_short code;
413 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
414 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
H A Dipf.h152 u_short fb_c;
206 extern int getport __P((struct frentry *, char *, u_short *));
243 extern u_32_t optname __P((char ***, u_short *, int));
246 extern int portnum __P((char *, char *, u_short *, int));
247 extern int ports __P((char ***, char *, u_short *, int *, u_short *, int));
277 extern void optprint __P((u_short *, u_long, u_long));
279 extern void optprintv6 __P((u_short *, u_long, u_long));
H A Dip_compat.c172 u_short nat_oport; /* other port */
173 u_short nat_use;
197 u_short nlc_inport;
198 u_short nlc_outport;
199 u_short nlc_realport;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c220 u_short *ports; in sv_byport()
222 ports = (u_short *)pvt->sv.line; in sv_byport()
226 key.size = sizeof(u_short) * 2; in sv_byport()
347 sv->serv.s_port = htons((u_short)strtol(p, &cp, 10)); in irs_lclsv_fnxt()
386 if (key->size < sizeof(u_short)*2 || data->size < 2) in sv_db_rec()
388 sv->serv.s_port = ((u_short *)key->data)[1]; in sv_db_rec()
400 if (data->size < sizeof(u_short) + 1) in sv_db_rec()
409 sv->serv.s_port = *(u_short *)data->data; in sv_db_rec()
410 p += sizeof(u_short); in sv_db_rec()
411 data->size -= sizeof(u_short); in sv_db_rec()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmp.x591 u_short ext_class_id;
597 u_short ext_class_id;
598 u_short ext_version;
657 u_short target_id;
658 u_short target_lun;
725 u_short target_id;
726 u_short target_lun;
1006 u_short port;
1230 u_short port;
1351 u_short ssid;
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Datomic.h21 atomic_load_acq_short(volatile u_short *p) in atomic_load_acq_short()
23 u_short res; in atomic_load_acq_short()
221 (*(volatile u_short *)(p) = (u_short)(v))
/illumos-gate/usr/src/boot/lib/libstand/
H A Diodesc.h45 u_short destport; /* dest. port, net order */
46 u_short myport; /* local port, net order */

12345