File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,6 @@ pub type time_t = i32;
25
25
pub type useconds_t = u32 ;
26
26
27
27
s ! {
28
- pub struct in_addr {
29
- pub s_addr: :: in_addr_t,
30
- }
31
-
32
- pub struct ip_mreq {
33
- pub imr_multiaddr: in_addr,
34
- pub imr_interface: in_addr,
35
- }
36
-
37
28
pub struct sockaddr {
38
29
pub sa_family: sa_family_t,
39
30
pub sa_data: [ :: c_char; 14 ] ,
@@ -500,10 +491,6 @@ pub const IFF_LINK2: ::c_int = 0x4000; // per link layer defined bit
500
491
pub const IFF_ALTPHYS : :: c_int = IFF_LINK2 ; // use alternate physical connection
501
492
pub const IFF_MULTICAST : :: c_int = 0x8000 ; // supports multicast
502
493
503
- pub const IPPROTO_IP : :: c_int = 0 ;
504
- pub const IPPROTO_UDP : :: c_int = 17 ;
505
- pub const IPPROTO_TCP : :: c_int = 6 ;
506
-
507
494
pub const TCP_NODELAY : :: c_int = 8193 ;
508
495
pub const TCP_MAXSEG : :: c_int = 8194 ;
509
496
You can’t perform that action at this time.
0 commit comments