/illumos-gate/usr/src/boot/include/net/ |
H A D | if.h | 266 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 D | if_arp.h | 47 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 D | res_mkquery.c | 194 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 D | ip_nat.h | 124 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 D | ip_state.h | 57 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 D | ip_proxy.h | 40 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 D | ip_fil.h | 384 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 …]
|
H A D | ip_frag.h | 26 u_short ipfr_secmsk; 27 u_short ipfr_auth; 32 u_short ipfr_off;
|
/illumos-gate/usr/src/boot/sys/i386/include/ |
H A D | cpufunc.h | 266 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 D | cpufunc.h | 258 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 D | udp.h | 42 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 D | ip.h | 59 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 D | in_pcb.h | 295 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 D | if_ether.h | 96 u_short sin_port; 99 u_short sin_tos; 100 u_short sin_other;
|
/illumos-gate/usr/src/lib/libresolv/arpa/ |
H A D | nameser.h | 149 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 D | addicmp.c | 62 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 D | portnum.c | 21 u_short *port; 25 u_short p1 = 0; 30 *port = (u_short)i;
|
H A D | printpacket6.c | 11 u_short plen, *addrs; 20 plen = ntohs(*((u_short *)buf +2)); 21 addrs = (u_short *)buf + 4;
|
H A D | printpacket.c | 20 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 D | bpf-ipf.h | 98 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 D | ipf.h | 152 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 D | ip_compat.c | 172 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 D | lcl_sv.c | 220 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 D | ndmp.x | 591 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 D | atomic.h | 21 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))
|