| /xnu-8792.41.9/bsd/netinet/ |
| H A D | tcp_var.h | 77 #define _TCPCB_PTR(x) u_int32_t 80 u_int32_t lh_first; \ 181 u_int32_t rxmit_start; /* timestamp of first retransmission */ 237 u_int32_t tc_last_max; /* cwnd at last loss */ 238 u_int32_t tc_epoch_start; /* TS of last loss */ 239 u_int32_t tc_origin_point; /* window at the start of an epoch */ 240 u_int32_t tc_tcp_win; /* computed tcp win */ 241 u_int32_t tc_tcp_bytes_acked; /* bytes acked */ 242 u_int32_t tc_avg_lastmax; /* Average of last max */ 243 u_int32_t tc_mean_deviation; /* Mean absolute deviation */ [all …]
|
| H A D | ip_var.h | 101 u_int32_t ipq_nfrags; /* # frags in this packet */ 137 u_int32_t imo_multicast_vif; /* vif num outgoing multicasts */ 179 u_int32_t ips_total; /* total packets received */ 180 u_int32_t ips_badsum; /* checksum bad */ 181 u_int32_t ips_tooshort; /* packet too short */ 182 u_int32_t ips_toosmall; /* not enough data */ 183 u_int32_t ips_badhlen; /* ip header length < data size */ 184 u_int32_t ips_badlen; /* ip length < ip header length */ 185 u_int32_t ips_fragments; /* fragments received */ 186 u_int32_t ips_fragdropped; /* frags dropped (dups, out of space) */ [all …]
|
| H A D | udp_var.h | 92 u_int32_t udps_ipackets; /* total input packets */ 93 u_int32_t udps_hdrops; /* packet shorter than header */ 94 u_int32_t udps_badsum; /* checksum error */ 95 u_int32_t udps_badlen; /* data length larger than packet */ 96 u_int32_t udps_noport; /* no socket on port */ 97 u_int32_t udps_noportbcast; /* of above, arrived as broadcast */ 98 u_int32_t udps_fullsock; /* not delivered, input socket full */ 99 u_int32_t udpps_pcbcachemiss; /* input packets missing pcb cache */ 100 u_int32_t udpps_pcbhashmiss; /* input packets not for hashed pcb */ 102 u_int32_t udps_opackets; /* total output packets */ [all …]
|
| H A D | tcp_private.h | 111 typedef u_int32_t tcp_notify_ack_id_t; 114 u_int32_t notify_pending;/* still pending */ 115 u_int32_t notify_complete_count; 182 u_int32_t tcpi_flags; /* extra flags (TCPI_FLAG_xxx) */ 184 u_int32_t tcpi_rto; /* Retransmission timeout in milliseconds */ 185 u_int32_t tcpi_snd_mss; /* Max segment size for send. */ 186 u_int32_t tcpi_rcv_mss; /* Max segment size for receive. */ 188 u_int32_t tcpi_rttcur; /* Most recent value of RTT */ 189 u_int32_t tcpi_srtt; /* Sender's Smoothed RTT */ 190 u_int32_t tcpi_rttvar; /* RTT variance */ [all …]
|
| H A D | icmp_var.h | 77 u_int32_t icps_error; /* # of calls to icmp_error */ 78 u_int32_t icps_oldshort; /* no error 'cuz old ip too short */ 79 u_int32_t icps_oldicmp; /* no error 'cuz old was icmp */ 80 u_int32_t icps_outhist[ICMP_MAXTYPE + 1]; 82 u_int32_t icps_badcode; /* icmp_code out of range */ 83 u_int32_t icps_tooshort; /* packet < ICMP_MINLEN */ 84 u_int32_t icps_checksum; /* bad checksum */ 85 u_int32_t icps_badlen; /* calculated bound mismatch */ 86 u_int32_t icps_reflect; /* number of responses */ 87 u_int32_t icps_inhist[ICMP_MAXTYPE + 1]; [all …]
|
| /xnu-8792.41.9/bsd/net/ |
| H A D | ntstat.h | 43 typedef u_int32_t nstat_provider_id_t; 83 u_int32_t nstat_rxduplicatebytes; 84 u_int32_t nstat_rxoutoforderbytes; 85 u_int32_t nstat_txretransmit; 87 u_int32_t nstat_connectattempts; 88 u_int32_t nstat_connectsuccesses; 90 u_int32_t nstat_min_rtt; 91 u_int32_t nstat_avg_rtt; 92 u_int32_t nstat_var_rtt; 97 u_int32_t nstat_sysinfo_key; [all …]
|
| H A D | flowhash.c | 53 static inline u_int32_t getblock32(const u_int32_t *, int); 55 static inline u_int32_t mh3_fmix32(u_int32_t); 78 static inline u_int32_t 79 getblock32(const u_int32_t *p, int i) in getblock32() 90 static inline u_int32_t 91 getblock32(const u_int32_t *p, int i) in getblock32() 94 u_int32_t value; in getblock32() 101 (((u_int32_t)bytes[0]) << 24) | in getblock32() 102 (((u_int32_t)bytes[1]) << 16) | in getblock32() 103 (((u_int32_t)bytes[2]) << 8) | in getblock32() [all …]
|
| H A D | necp.h | 56 u_int32_t message_id; 259 u_int32_t start_tc; 260 u_int32_t end_tc; 319 typedef u_int32_t necp_policy_id; 320 typedef u_int32_t necp_policy_order; 321 typedef u_int32_t necp_session_priority; 323 typedef u_int32_t necp_kernel_policy_result; 324 typedef u_int32_t necp_kernel_policy_filter; 329 u_int32_t flow_divert_control_unit; 330 u_int32_t filter_control_unit; [all …]
|
| H A D | if_var.h | 145 u_int32_t if_family; 146 u_int32_t if_unit; 173 u_int32_t ifi_mtu; /* maximum transmission unit */ 174 u_int32_t ifi_metric; /* routing metric (external only) */ 175 u_int32_t ifi_baudrate; /* linespeed */ 177 u_int32_t ifi_ipackets; /* packets received on interface */ 178 u_int32_t ifi_ierrors; /* input errors on interface */ 179 u_int32_t ifi_opackets; /* packets sent on interface */ 180 u_int32_t ifi_oerrors; /* output errors on interface */ 181 u_int32_t ifi_collisions; /* collisions on csma interfaces */ [all …]
|
| H A D | if_var_status.h | 95 u_int32_t valid_bitmask; /* indicates which fields are valid */ 113 u_int32_t link_quality_metric; 114 u_int32_t ul_effective_bandwidth; /* Measured uplink bandwidth based on current activity (bps) */ 115 u_int32_t ul_max_bandwidth; /* Maximum supported uplink bandwidth (bps) */ 116 u_int32_t ul_min_latency; /* min expected uplink latency for first hop (ms) */ 117 u_int32_t ul_effective_latency; /* current expected uplink latency for first hop (ms) */ 118 u_int32_t ul_max_latency; /* max expected uplink latency first hop (ms) */ 119 u_int32_t ul_retxt_level; /* Retransmission metric */ 124 u_int32_t ul_bytes_lost; /* % of total bytes lost on uplink in Q10 format */ 125 u_int32_t ul_min_queue_size; /* minimum bytes in queue */ [all …]
|
| H A D | kpi_interface.h | 128 typedef u_int32_t ifnet_family_t; 157 typedef u_int32_t ifnet_subfamily_t; 181 typedef u_int32_t bpf_tap_mode; 188 typedef u_int32_t protocol_family_t; 267 typedef u_int32_t ifnet_offload_t; 419 , u_int32_t *prepend_len, u_int32_t *postpend_len 425 const char *frame_type, u_int32_t *prepend_len, 426 u_int32_t *postpend_len); 448 const struct ifnet_demux_desc *demux_array, u_int32_t demux_count); 651 u_int32_t packets_in; [all …]
|
| H A D | if_mib.h | 132 u_int32_t dot3StatsAlignmentErrors; 133 u_int32_t dot3StatsFCSErrors; 134 u_int32_t dot3StatsSingleCollisionFrames; 135 u_int32_t dot3StatsMultipleCollisionFrames; 136 u_int32_t dot3StatsSQETestErrors; 137 u_int32_t dot3StatsDeferredTransmissions; 138 u_int32_t dot3StatsLateCollisions; 139 u_int32_t dot3StatsExcessiveCollisions; 140 u_int32_t dot3StatsInternalMacTransmitErrors; 141 u_int32_t dot3StatsCarrierSenseErrors; [all …]
|
| H A D | if_var_private.h | 139 u_int32_t ifd_maxlen; /* must be IF_DESCSIZE */ 140 u_int32_t ifd_len; /* actual ifd_desc length */ 205 u_int32_t ifi_poll_off_req; /* total # of POLL_OFF reqs */ 206 u_int32_t ifi_poll_off_err; /* total # of POLL_OFF errors */ 207 u_int32_t ifi_poll_on_req; /* total # of POLL_ON reqs */ 208 u_int32_t ifi_poll_on_err; /* total # of POLL_ON errors */ 210 u_int32_t ifi_poll_wakeups_avg;/* avg # of wakeup reqs */ 211 u_int32_t ifi_poll_wakeups_lowat;/* wakeups low watermark */ 212 u_int32_t ifi_poll_wakeups_hiwat;/* wakeups high watermark */ 215 u_int32_t ifi_poll_packets_avg;/* average polled packets */ [all …]
|
| H A D | network_agent.h | 51 u_int32_t message_id; 52 u_int32_t message_error; 53 u_int32_t message_payload_length; 57 u_int32_t trigger_flags; 172 u_int32_t frame_type; 173 u_int32_t endpoint_assignment_type; 174 u_int32_t endpoint_request_types[NETAGENT_NEXUS_MAX_REQUEST_TYPES]; 175 u_int32_t endpoint_resolution_type_pairs[NETAGENT_NEXUS_MAX_RESOLUTION_TYPE_PAIRS * 2]; 176 u_int32_t nexus_max_buf_size; 177 u_int32_t reserved; [all …]
|
| H A D | if_private.h | 213 u_int32_t ifru_wake_flags; 214 u_int32_t ifru_route_refcnt; 237 u_int32_t ifru_delegated; 271 u_int32_t ifru_functional_type; 281 u_int32_t ifru_expensive; 282 u_int32_t ifru_constrained; 283 u_int32_t ifru_2kcl; 285 u_int32_t qlen; 286 u_int32_t timeout; 289 u_int32_t ifru_probe_connectivity; [all …]
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | kern_control.h | 76 u_int32_t ctl_id; /* Kernel Controller ID */ 77 u_int32_t ctl_unit; 118 u_int32_t ctl_id; /* Kernel Controller ID */ 144 u_int32_t sc_id; /* Controller unique identifier */ 145 u_int32_t sc_unit; /* Developer private unit number */ 146 u_int32_t sc_reserved[5]; 152 u_int32_t xkr_len; 153 u_int32_t xkr_kind; 154 u_int32_t xkr_id; 155 u_int32_t xkr_reg_unit; [all …]
|
| H A D | kern_event.h | 151 u_int32_t total_size; /* Size of entire event msg */ 152 u_int32_t vendor_code; /* For non-Apple extensibility */ 153 u_int32_t kev_class; /* Layer of event source */ 154 u_int32_t kev_subclass; /* Component within layer */ 155 u_int32_t id; /* Monotonically increasing value */ 156 u_int32_t event_code; /* unique code */ 157 u_int32_t event_data[XNU_KERN_EVENT_DATA_SIZE]; /* One or more data words */ 187 u_int32_t vendor_code; 188 u_int32_t kev_class; 189 u_int32_t kev_subclass; [all …]
|
| H A D | quota.h | 150 u_int32_t dqh_magic; 151 u_int32_t dqh_version; /* == QF_VERSION */ 152 u_int32_t dqh_maxentries; /* must be a power of 2 */ 153 u_int32_t dqh_entrycnt; /* count of active entries */ 154 u_int32_t dqh_flags; /* reserved for now (0) */ 155 u_int32_t dqh_chktime; /* time of last quota check */ 156 u_int32_t dqh_btime; /* time limit for excessive disk use */ 157 u_int32_t dqh_itime; /* time limit for excessive files */ 159 u_int32_t dqh_spare[4]; /* pad struct to power of 2 */ 166 u_int32_t dqb_ihardlimit; /* maximum # allocated inodes + 1 */ [all …]
|
| H A D | mbuf.h | 190 u_int32_t pad; /* For structure alignment */ 199 u_int32_t da_family; /* IFNET_FAMILY values */ 200 u_int32_t da_subfamily; /* IFNET_SUBFAMILY values */ 201 u_int32_t da_reserved; /* for future */ 202 u_int32_t da_length; /* length of following data */ 337 u_int32_t necp_policy_id; 338 u_int32_t necp_skip_policy_id; 339 u_int32_t necp_route_rule_id; 366 u_int32_t csum_flags; /* flags regarding checksum */ 384 u_int32_t csum_data; [all …]
|
| H A D | kpi_mbuf.h | 97 typedef u_int32_t mbuf_flags_t; 145 typedef u_int32_t mbuf_type_t; 171 typedef u_int32_t mbuf_tso_request_flags_t; 185 typedef u_int32_t mbuf_csum_request_flags_t; 219 typedef u_int32_t mbuf_csum_performed_flags_t; 235 typedef u_int32_t mbuf_how_t; 237 typedef u_int32_t mbuf_tag_id_t; 263 u_int32_t mbufs; /* mbufs obtained from page pool */ 264 u_int32_t clusters; /* clusters obtained from page pool */ 265 u_int32_t clfree; /* free clusters */ [all …]
|
| H A D | disklabel.h | 104 #define DISKMAGIC ((u_int32_t)0x82564557) /* The disk magic number */ 108 u_int32_t d_magic; /* the magic number */ 133 u_int32_t d_secsize; /* # of bytes per sector */ 134 u_int32_t d_nsectors; /* # of data sectors per track */ 135 u_int32_t d_ntracks; /* # of tracks per cylinder */ 136 u_int32_t d_ncylinders; /* # of data cylinders per unit */ 137 u_int32_t d_secpercyl; /* # of data sectors per cylinder */ 138 u_int32_t d_secperunit; /* # of data sectors per unit */ 152 u_int32_t d_acylinders; /* # of alt. cylinders per unit */ 175 u_int32_t d_headswitch; /* head switch time, usec */ [all …]
|
| /xnu-8792.41.9/bsd/net/classq/ |
| H A D | if_classq.h | 53 u_int32_t flow; /* (in) 0 means all flows */ 54 u_int32_t packets; /* (out) purged packets */ 55 u_int32_t bytes; /* (out) purged bytes */ 60 u_int32_t set; /* set or get */ 61 u_int32_t level; /* (in/out) throttling level */ 68 u_int32_t packets; /* (out) packets enqueued */ 69 u_int32_t bytes; /* (out) bytes enqueued */ 82 u_int32_t tbr_percent; /* token bucket rate in percentage */ 96 u_int32_t percent; /* rate in percentage */ 97 u_int32_t depth; /* depth in bytes */ [all …]
|
| H A D | classq_sfb.h | 69 u_int32_t bytes; /* number of bytes */ 73 u_int32_t allocation; 74 u_int32_t dropthresh; 75 u_int32_t clearpkts; 76 u_int32_t current; 80 u_int32_t delay_fcthreshold; 81 u_int32_t flags; 90 u_int32_t fudge; 96 u_int32_t cnt; 115 u_int32_t sfb_flags; /* SFB flags */ [all …]
|
| /xnu-8792.41.9/bsd/net/pktsched/ |
| H A D | pktsched_fq_codel.h | 47 u_int32_t fcl_flow_control; 48 u_int32_t fcl_flow_feedback; 49 u_int32_t fcl_dequeue_stall; 50 u_int32_t fcl_flow_control_fail; 53 u_int32_t fcl_drop_memfailure; 54 u_int32_t fcl_flows_cnt; 55 u_int32_t fcl_newflows_cnt; 56 u_int32_t fcl_oldflows_cnt; 61 u_int32_t fcl_throttle_on; 62 u_int32_t fcl_throttle_off; [all …]
|
| /xnu-8792.41.9/bsd/netinet6/ |
| H A D | ip6_id.c | 134 const u_int32_t ru_max; /* Uniq cycle, avoid blackjack prediction */ 135 const u_int32_t ru_gen; /* Starting generator */ 136 const u_int32_t ru_n; /* ru_n: prime, ru_n - 1: product of pfacts[] */ 137 const u_int32_t ru_agen; /* determine ru_a as ru_agen^(2*rand) */ 138 const u_int32_t ru_m; /* ru_m = 2^x*3^y */ 139 const u_int32_t pfacts[4]; /* factors of ru_n */ 141 u_int32_t ru_counter; 142 u_int32_t ru_msb; 144 u_int32_t ru_x; 145 u_int32_t ru_seed, ru_seed2; [all …]
|