equal
deleted
inserted
replaced
478 FILE_RENAME_FROM = 0x40 |
478 FILE_RENAME_FROM = 0x40 |
479 UNMOUNTED = 0x20000000 |
479 UNMOUNTED = 0x20000000 |
480 MOUNTEDOVER = 0x40000000 |
480 MOUNTEDOVER = 0x40000000 |
481 FILE_EXCEPTION = 0x60000070 |
481 FILE_EXCEPTION = 0x60000070 |
482 ) |
482 ) |
|
483 |
|
484 const ( |
|
485 TUNNEWPPA = 0x540001 |
|
486 TUNSETPPA = 0x540002 |
|
487 |
|
488 I_STR = 0x5308 |
|
489 I_POP = 0x5303 |
|
490 I_PUSH = 0x5302 |
|
491 I_LINK = 0x530c |
|
492 I_UNLINK = 0x530d |
|
493 I_PLINK = 0x5316 |
|
494 I_PUNLINK = 0x5317 |
|
495 |
|
496 IF_UNITSEL = -0x7ffb8cca |
|
497 ) |
|
498 |
|
499 type strbuf struct { |
|
500 Maxlen int32 |
|
501 Len int32 |
|
502 Buf *int8 |
|
503 } |
|
504 |
|
505 type Strioctl struct { |
|
506 Cmd int32 |
|
507 Timout int32 |
|
508 Len int32 |
|
509 Dp *int8 |
|
510 } |
|
511 |
|
512 type Lifreq struct { |
|
513 Name [32]int8 |
|
514 Lifru1 [4]byte |
|
515 Type uint32 |
|
516 Lifru [336]byte |
|
517 } |