@@ -258,6 +258,8 @@ pub const SO_DONTROUTE: ::c_int = 16;
258
258
pub const SO_BROADCAST : :: c_int = 32 ;
259
259
pub const SO_SNDBUF : :: c_int = 0x1001 ;
260
260
pub const SO_RCVBUF : :: c_int = 0x1002 ;
261
+ pub const SO_SNDBUFFORCE : :: c_int = 0x100a ;
262
+ pub const SO_RCVBUFFORCE : :: c_int = 0x100b ;
261
263
pub const SO_DOMAIN : :: c_int = 0x1029 ;
262
264
pub const SO_KEEPALIVE : :: c_int = 8 ;
263
265
pub const SO_OOBINLINE : :: c_int = 0x100 ;
@@ -447,6 +449,41 @@ pub const FFDLY: ::tcflag_t = 0o100000;
447
449
pub const VTDLY : :: tcflag_t = 0o040000 ;
448
450
pub const XTABS : :: tcflag_t = 0o014000 ;
449
451
452
+ pub const B0 : :: speed_t = 0o000000 ;
453
+ pub const B50 : :: speed_t = 0o000001 ;
454
+ pub const B75 : :: speed_t = 0o000002 ;
455
+ pub const B110 : :: speed_t = 0o000003 ;
456
+ pub const B134 : :: speed_t = 0o000004 ;
457
+ pub const B150 : :: speed_t = 0o000005 ;
458
+ pub const B200 : :: speed_t = 0o000006 ;
459
+ pub const B300 : :: speed_t = 0o000007 ;
460
+ pub const B600 : :: speed_t = 0o000010 ;
461
+ pub const B1200 : :: speed_t = 0o000011 ;
462
+ pub const B1800 : :: speed_t = 0o000012 ;
463
+ pub const B2400 : :: speed_t = 0o000013 ;
464
+ pub const B4800 : :: speed_t = 0o000014 ;
465
+ pub const B9600 : :: speed_t = 0o000015 ;
466
+ pub const B19200 : :: speed_t = 0o000016 ;
467
+ pub const B38400 : :: speed_t = 0o000017 ;
468
+ pub const EXTA : :: speed_t = B19200 ;
469
+ pub const EXTB : :: speed_t = B38400 ;
470
+ pub const BOTHER : :: speed_t = 0x1000 ;
471
+ pub const B57600 : :: speed_t = 0x1001 ;
472
+ pub const B115200 : :: speed_t = 0x1002 ;
473
+ pub const B230400 : :: speed_t = 0x1003 ;
474
+ pub const B460800 : :: speed_t = 0x1004 ;
475
+ pub const B76800 : :: speed_t = 0x1005 ;
476
+ pub const B153600 : :: speed_t = 0x1006 ;
477
+ pub const B307200 : :: speed_t = 0x1007 ;
478
+ pub const B614400 : :: speed_t = 0x1008 ;
479
+ pub const B921600 : :: speed_t = 0x1009 ;
480
+ pub const B500000 : :: speed_t = 0x100a ;
481
+ pub const B576000 : :: speed_t = 0x100b ;
482
+ pub const B1000000 : :: speed_t = 0x100c ;
483
+ pub const B1152000 : :: speed_t = 0x100d ;
484
+ pub const B1500000 : :: speed_t = 0x100e ;
485
+ pub const B2000000 : :: speed_t = 0x100f ;
486
+
450
487
pub const VEOL : usize = 5 ;
451
488
pub const VEOL2 : usize = 6 ;
452
489
pub const VMIN : usize = 4 ;
0 commit comments