Home
last modified time | relevance | path

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

12345

/xnu-11417.121.6/bsd/netinet/
H A Digmp.h92 u_short igmp_cksum; /* IP-style checksum */
102 u_short igmp_cksum; /* IP-style checksum */
107 u_short igmp_numsrc; /* number of sources */
121 u_short ig_numsrc; /* number of sources */
133 u_short ir_cksum; /* checksum */
134 u_short ir_rsv2; /* must be zero */
135 u_short ir_numgrps; /* number of group records */
H A Dudp.h80 u_short uh_sport; /* source port */
81 u_short uh_dport; /* destination port */
82 u_short uh_ulen; /* udp length */
83 u_short uh_sum; /* udp checksum */
H A Dip_dummynet.h315 u_short fs_nr; /* flow_set number */
316 u_short flags_fs;
326 u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
468 u_short fs_nr; /* flow_set number */
469 u_short flags_fs;
479 u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
593 u_short fs_nr; /* flow_set number */
594 u_short flags_fs;
604 u_short parent_nr; /* parent pipe#, 0 if local to a pipe */
H A Dip.h104 u_short ip_len; /* total length */
105 u_short ip_id; /* identification */
106 u_short ip_off; /* fragment offset field */
113 u_short ip_sum; /* checksum */
H A Dif_ether.h130 u_short sin_port;
133 u_short sin_tos;
134 u_short sin_other;
H A Dip_var.h83 u_short ih_len; /* protocol length */
100 u_short ipq_id; /* sequence id for reassembly */
132 u_short imo_num_memberships; /* no. memberships this socket */
133 u_short imo_max_memberships; /* max memberships this socket */
134 u_short imo_max_filters; /* max filters this socket */
352 extern u_short ip_id; /* ip packet ctr, for ids */
H A Din_pcb.h178 u_short inp_fport; /* foreign port */
179 u_short inp_lport; /* local port */
357 u_short inp_fport; /* foreign port */
358 u_short inp_lport; /* local port */
414 u_short inp6_ifindex;
444 u_short inp_fport; /* foreign port */
445 u_short inp_lport; /* local port */
471 u_short inp6_ifindex;
489 u_short inp_fport; /* foreign port */
490 u_short inp_lport; /* local port */
[all …]
H A Dip_compat.h428 # define IP_MF ((u_short)0x2000)
431 # define ETHERTYPE_IP ((u_short)0x0800)
476 # define IPOPT_SECUR_UNCLASS ((u_short)0x0000)
479 # define IPOPT_SECUR_CONFID ((u_short)0xf135)
482 # define IPOPT_SECUR_EFTO ((u_short)0x789a)
485 # define IPOPT_SECUR_MMMM ((u_short)0xbc4d)
488 # define IPOPT_SECUR_RESTR ((u_short)0xaf13)
491 # define IPOPT_SECUR_SECRET ((u_short)0xd788)
494 # define IPOPT_SECUR_TOPSECRET ((u_short)0x6bc5)
586 u_short icmp_cksum; /* ones complement cksum of struct */
H A Dbootp.h59 u_short bp_secs; /* seconds since boot began */
60 u_short bp_unused;
/xnu-11417.121.6/bsd/security/audit/
H A Daudit_bsm_socket_type.c41 u_short bst_bsm_socket_type;
71 u_short
84 bsm_lookup_bsm_socket_type(u_short bsm_socket_type) in bsm_lookup_bsm_socket_type()
98 au_bsm_to_socket_type(u_short bsm_socket_type, int *local_socket_typep) in au_bsm_to_socket_type()
H A Daudit_bsm_fcntl.c42 u_short bfc_bsm_fcntl_cmd;
267 u_short
280 bsm_lookup_bsm_fcntl_cmd(u_short bsm_fcntl_cmd) in bsm_lookup_bsm_fcntl_cmd()
294 au_bsm_to_fcntl_cmd(u_short bsm_fcntl_cmd, int *local_fcntl_cmdp) in au_bsm_to_fcntl_cmd()
H A Daudit_bsm_domain.c40 u_short bd_bsm_domain;
466 u_short
479 bsm_lookup_bsm_domain(u_short bsm_domain) in bsm_lookup_bsm_domain()
492 au_bsm_to_domain(u_short bsm_domain, int *local_domainp) in au_bsm_to_domain()
/xnu-11417.121.6/tests/
H A Din_cksum.c36 u_short s;
40 u_short s[2];
63 u_short * w; in in_cksum()
66 w = (u_short *)pkt; in in_cksum()
H A Dnet_test_lib.h80 u_short if_index;
108 #define DHCP_FLAGS_BROADCAST ((u_short)0x8000)
213 extern void route_add_inet_scoped_subnet(char * ifname, u_short if_index,
/xnu-11417.121.6/bsd/net/
H A Droute.h159 u_short rtm_msglen; /* to skip over non-understood messages */
162 u_short rtm_index; /* index for associated ifp */
174 u_short rtm_msglen; /* to skip over non-understood messages */
177 u_short rtm_index; /* index for associated ifp */
189 u_short rtm_msglen; /* to skip over non-understood messages */
H A Dif_dl.h99 u_short sdl_index; /* if != 0, system given index for interface */
109 u_short sdl_rcf; /* source routing control */
110 u_short sdl_route[16]; /* source routing information */
H A Dif_arp.h81 u_short ar_hrd; /* format of hardware address */
87 u_short ar_pro; /* format of protocol address */
90 u_short ar_op; /* one of: */
H A Dbpf.h187 u_short bv_major;
188 u_short bv_minor;
291 u_short bh_hdrlen; /* length of bpf header (this struct
312 u_short bh_hdrlen; /* length of bpf header */
400 u_short bh_hdrlen; /* length of bpf header (this struct
1426 u_short code;
1435 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
1436 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
H A Dif.h221 u_short ifm_msglen; /* to skip over non-understood messages */
226 u_short ifm_index; /* index for associated ifp */
239 u_short ifmam_msglen; /* to skip over non-understood messages */
244 u_short ifmam_index; /* index for associated ifp */
/xnu-11417.121.6/bsd/sys/
H A Ducred.h163 u_short cr_ngroups; /* number of groups in advisory list */
165 u_short __cr_padding;
220 int suser(kauth_cred_t cred, u_short *acflag);
H A Dgmon.h203 u_short *kcount;
205 u_short *froms;
/xnu-11417.121.6/bsd/netinet6/
H A Dnd6.h263 u_short rtlifetime;
265 u_short if_index;
273 u_short rtlifetime;
275 u_short if_index;
282 u_short rtlifetime;
284 u_short if_index __attribute__((aligned(8)));
298 u_short if_index;
299 u_short advrtrs; /* number of advertisement routers */
314 u_short if_index;
315 u_short advrtrs; /* number of advertisement routers */
[all …]
/xnu-11417.121.6/bsd/bsm/
H A Daudit_record.h311 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
375 int au_bsm_to_domain(u_short bsm_domain, int *local_domainp)
379 int au_bsm_to_fcntl_cmd(u_short bsm_fcntl_cmd, int *local_fcntl_cmdp)
381 int au_bsm_to_socket_type(u_short bsm_socket_type,
384 u_short au_domain_to_bsm(int local_domain)
388 u_short au_fcntl_cmd_to_bsm(int local_fcntl_command)
390 u_short au_socket_type_to_bsm(int local_socket_type)
/xnu-11417.121.6/bsd/sys/_types/
H A D_u_short.h30 typedef unsigned short u_short; typedef
/xnu-11417.121.6/osfmk/kdp/
H A Dkdp_udp.c97 static u_short ip_id; /* ip packet ctr, for ids */
119 u_short uh_sport; /* source port */
120 u_short uh_dport; /* destination port */
122 u_short uh_sum; /* udp checksum */
160 u_short ip_id; /* identification */
167 u_short ip_sum; /* checksum */
191 u_short ar_hrd; /* format of hardware address */
194 u_short ar_pro; /* format of protocol address */
197 u_short ar_op; /* one of: */
574 ui->ui_len = htons((u_short)pkt.len + sizeof(struct kdp_udphdr)); in kdp_reply()
[all …]

12345