1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660
// Copyright (c) 2015 Robert Clipsham <robert@octarineparrot.com>
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Provides type aliases for various primitive integer types
//!
//! These types are aliased to the next largest of \[`u8`, `u16`, `u32`, `u64`\], and purely serve as
//! hints for the `#[packet]` macro to enable the generation of the correct bit manipulations to
//! get the value out of a packet.
//!
//! They should NOT be used outside of data types marked as `#[packet]`.
//!
//! All aliases for types larger than `u8` contain a `be` or `le` suffix. These specify whether the
//! value is big or little endian, respectively. When using `set_*()` and `get_*()` methods, host
//! endianness should be used - the methods will convert as appropriate.
#![allow(non_camel_case_types)]
// TODO signed equivalents?
/// Represents an unsigned, 1-bit integer.
pub type u1 = u8;
/// Represents an unsigned, 2-bit integer.
pub type u2 = u8;
/// Represents an unsigned, 3-bit integer.
pub type u3 = u8;
/// Represents an unsigned, 4-bit integer.
pub type u4 = u8;
/// Represents an unsigned, 5-bit integer.
pub type u5 = u8;
/// Represents an unsigned, 6-bit integer.
pub type u6 = u8;
/// Represents an unsigned, 7-bit integer.
pub type u7 = u8;
/// Represents an unsigned 9-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u9be = u16;
/// Represents an unsigned 10-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u10be = u16;
/// Represents an unsigned 11-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u11be = u16;
/// Represents an unsigned 12-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u12be = u16;
/// Represents an unsigned 13-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u13be = u16;
/// Represents an unsigned 14-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u14be = u16;
/// Represents an unsigned 15-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u15be = u16;
/// Represents an unsigned 16-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u16be = u16;
/// Represents an unsigned 17-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u17be = u32;
/// Represents an unsigned 18-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u18be = u32;
/// Represents an unsigned 19-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u19be = u32;
/// Represents an unsigned 20-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u20be = u32;
/// Represents an unsigned 21-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u21be = u32;
/// Represents an unsigned 22-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u22be = u32;
/// Represents an unsigned 23-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u23be = u32;
/// Represents an unsigned 24-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u24be = u32;
/// Represents an unsigned 25-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u25be = u32;
/// Represents an unsigned 26-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u26be = u32;
/// Represents an unsigned 27-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u27be = u32;
/// Represents an unsigned 28-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u28be = u32;
/// Represents an unsigned 29-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u29be = u32;
/// Represents an unsigned 30-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u30be = u32;
/// Represents an unsigned 31-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u31be = u32;
/// Represents an unsigned 32-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u32be = u32;
/// Represents an unsigned 33-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u33be = u64;
/// Represents an unsigned 34-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u34be = u64;
/// Represents an unsigned 35-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u35be = u64;
/// Represents an unsigned 36-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u36be = u64;
/// Represents an unsigned 37-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u37be = u64;
/// Represents an unsigned 38-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u38be = u64;
/// Represents an unsigned 39-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u39be = u64;
/// Represents an unsigned 40-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u40be = u64;
/// Represents an unsigned 41-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u41be = u64;
/// Represents an unsigned 42-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u42be = u64;
/// Represents an unsigned 43-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u43be = u64;
/// Represents an unsigned 44-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u44be = u64;
/// Represents an unsigned 45-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u45be = u64;
/// Represents an unsigned 46-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u46be = u64;
/// Represents an unsigned 47-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u47be = u64;
/// Represents an unsigned 48-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u48be = u64;
/// Represents an unsigned 49-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u49be = u64;
/// Represents an unsigned 50-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u50be = u64;
/// Represents an unsigned 51-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u51be = u64;
/// Represents an unsigned 52-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u52be = u64;
/// Represents an unsigned 53-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u53be = u64;
/// Represents an unsigned 54-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u54be = u64;
/// Represents an unsigned 55-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u55be = u64;
/// Represents an unsigned 56-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u56be = u64;
/// Represents an unsigned 57-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u57be = u64;
/// Represents an unsigned 58-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u58be = u64;
/// Represents an unsigned 59-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u59be = u64;
/// Represents an unsigned 60-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u60be = u64;
/// Represents an unsigned 61-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u61be = u64;
/// Represents an unsigned 62-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u62be = u64;
/// Represents an unsigned 63-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u63be = u64;
/// Represents an unsigned 64-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as big-endian, but accessors/mutators will return/take host-order values.
pub type u64be = u64;
/// Represents an unsigned 9-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u9le = u16;
/// Represents an unsigned 10-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u10le = u16;
/// Represents an unsigned 11-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u11le = u16;
/// Represents an unsigned 12-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u12le = u16;
/// Represents an unsigned 13-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u13le = u16;
/// Represents an unsigned 14-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u14le = u16;
/// Represents an unsigned 15-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u15le = u16;
/// Represents an unsigned 16-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u16le = u16;
/// Represents an unsigned 17-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u17le = u32;
/// Represents an unsigned 18-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u18le = u32;
/// Represents an unsigned 19-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u19le = u32;
/// Represents an unsigned 20-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u20le = u32;
/// Represents an unsigned 21-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u21le = u32;
/// Represents an unsigned 22-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u22le = u32;
/// Represents an unsigned 23-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u23le = u32;
/// Represents an unsigned 24-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u24le = u32;
/// Represents an unsigned 25-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u25le = u32;
/// Represents an unsigned 26-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u26le = u32;
/// Represents an unsigned 27-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u27le = u32;
/// Represents an unsigned 28-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u28le = u32;
/// Represents an unsigned 29-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u29le = u32;
/// Represents an unsigned 30-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u30le = u32;
/// Represents an unsigned 31-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u31le = u32;
/// Represents an unsigned 32-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u32le = u32;
/// Represents an unsigned 33-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u33le = u64;
/// Represents an unsigned 34-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u34le = u64;
/// Represents an unsigned 35-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u35le = u64;
/// Represents an unsigned 36-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u36le = u64;
/// Represents an unsigned 37-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u37le = u64;
/// Represents an unsigned 38-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u38le = u64;
/// Represents an unsigned 39-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u39le = u64;
/// Represents an unsigned 40-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u40le = u64;
/// Represents an unsigned 41-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u41le = u64;
/// Represents an unsigned 42-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u42le = u64;
/// Represents an unsigned 43-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u43le = u64;
/// Represents an unsigned 44-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u44le = u64;
/// Represents an unsigned 45-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u45le = u64;
/// Represents an unsigned 46-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u46le = u64;
/// Represents an unsigned 47-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u47le = u64;
/// Represents an unsigned 48-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u48le = u64;
/// Represents an unsigned 49-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u49le = u64;
/// Represents an unsigned 50-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u50le = u64;
/// Represents an unsigned 51-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u51le = u64;
/// Represents an unsigned 52-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u52le = u64;
/// Represents an unsigned 53-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u53le = u64;
/// Represents an unsigned 54-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u54le = u64;
/// Represents an unsigned 55-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u55le = u64;
/// Represents an unsigned 56-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u56le = u64;
/// Represents an unsigned 57-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u57le = u64;
/// Represents an unsigned 58-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u58le = u64;
/// Represents an unsigned 59-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u59le = u64;
/// Represents an unsigned 60-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u60le = u64;
/// Represents an unsigned 61-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u61le = u64;
/// Represents an unsigned 62-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u62le = u64;
/// Represents an unsigned 63-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u63le = u64;
/// Represents an unsigned 64-bit integer. libpnet #\[packet\]-derived structs using this type will
/// hold it in memory as little-endian, but accessors/mutators will return/take host-order values.
pub type u64le = u64;
/// Represents an unsigned 9-bit integer in host endianness.
pub type u9he = u16;
/// Represents an unsigned 10-bit integer in host endianness.
pub type u10he = u16;
/// Represents an unsigned 11-bit integer in host endianness.
pub type u11he = u16;
/// Represents an unsigned 12-bit integer in host endianness.
pub type u12he = u16;
/// Represents an unsigned 13-bit integer in host endianness.
pub type u13he = u16;
/// Represents an unsigned 14-bit integer in host endianness.
pub type u14he = u16;
/// Represents an unsigned 15-bit integer in host endianness.
pub type u15he = u16;
/// Represents an unsigned 16-bit integer in host endianness.
pub type u16he = u16;
/// Represents an unsigned 17-bit integer in host endianness.
pub type u17he = u32;
/// Represents an unsigned 18-bit integer in host endianness.
pub type u18he = u32;
/// Represents an unsigned 19-bit integer in host endianness.
pub type u19he = u32;
/// Represents an unsigned 20-bit integer in host endianness.
pub type u20he = u32;
/// Represents an unsigned 21-bit integer in host endianness.
pub type u21he = u32;
/// Represents an unsigned 22-bit integer in host endianness.
pub type u22he = u32;
/// Represents an unsigned 23-bit integer in host endianness.
pub type u23he = u32;
/// Represents an unsigned 24-bit integer in host endianness.
pub type u24he = u32;
/// Represents an unsigned 25-bit integer in host endianness.
pub type u25he = u32;
/// Represents an unsigned 26-bit integer in host endianness.
pub type u26he = u32;
/// Represents an unsigned 27-bit integer in host endianness.
pub type u27he = u32;
/// Represents an unsigned 28-bit integer in host endianness.
pub type u28he = u32;
/// Represents an unsigned 29-bit integer in host endianness.
pub type u29he = u32;
/// Represents an unsigned 30-bit integer in host endianness.
pub type u30he = u32;
/// Represents an unsigned 31-bit integer in host endianness.
pub type u31he = u32;
/// Represents an unsigned 32-bit integer in host endianness.
pub type u32he = u32;
/// Represents an unsigned 33-bit integer in host endianness.
pub type u33he = u64;
/// Represents an unsigned 34-bit integer in host endianness.
pub type u34he = u64;
/// Represents an unsigned 35-bit integer in host endianness.
pub type u35he = u64;
/// Represents an unsigned 36-bit integer in host endianness.
pub type u36he = u64;
/// Represents an unsigned 37-bit integer in host endianness.
pub type u37he = u64;
/// Represents an unsigned 38-bit integer in host endianness.
pub type u38he = u64;
/// Represents an unsigned 39-bit integer in host endianness.
pub type u39he = u64;
/// Represents an unsigned 40-bit integer in host endianness.
pub type u40he = u64;
/// Represents an unsigned 41-bit integer in host endianness.
pub type u41he = u64;
/// Represents an unsigned 42-bit integer in host endianness.
pub type u42he = u64;
/// Represents an unsigned 43-bit integer in host endianness.
pub type u43he = u64;
/// Represents an unsigned 44-bit integer in host endianness.
pub type u44he = u64;
/// Represents an unsigned 45-bit integer in host endianness.
pub type u45he = u64;
/// Represents an unsigned 46-bit integer in host endianness.
pub type u46he = u64;
/// Represents an unsigned 47-bit integer in host endianness.
pub type u47he = u64;
/// Represents an unsigned 48-bit integer in host endianness.
pub type u48he = u64;
/// Represents an unsigned 49-bit integer in host endianness.
pub type u49he = u64;
/// Represents an unsigned 50-bit integer in host endianness.
pub type u50he = u64;
/// Represents an unsigned 51-bit integer in host endianness.
pub type u51he = u64;
/// Represents an unsigned 52-bit integer in host endianness.
pub type u52he = u64;
/// Represents an unsigned 53-bit integer in host endianness.
pub type u53he = u64;
/// Represents an unsigned 54-bit integer in host endianness.
pub type u54he = u64;
/// Represents an unsigned 55-bit integer in host endianness.
pub type u55he = u64;
/// Represents an unsigned 56-bit integer in host endianness.
pub type u56he = u64;
/// Represents an unsigned 57-bit integer in host endianness.
pub type u57he = u64;
/// Represents an unsigned 58-bit integer in host endianness.
pub type u58he = u64;
/// Represents an unsigned 59-bit integer in host endianness.
pub type u59he = u64;
/// Represents an unsigned 60-bit integer in host endianness.
pub type u60he = u64;
/// Represents an unsigned 61-bit integer in host endianness.
pub type u61he = u64;
/// Represents an unsigned 62-bit integer in host endianness.
pub type u62he = u64;
/// Represents an unsigned 63-bit integer in host endianness.
pub type u63he = u64;
/// Represents an unsigned 64-bit integer in host endianness.
pub type u64he = u64;