File tree 5 files changed +5
-0
lines changed
5 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1432,6 +1432,7 @@ pub const SOCK_STREAM: c_int = 1;
1432
1432
pub const SOCK_DGRAM : c_int = 2 ;
1433
1433
pub const SOCK_SEQPACKET : c_int = 5 ;
1434
1434
pub const SOCK_DCCP : c_int = 6 ;
1435
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
1435
1436
pub const SOCK_PACKET : c_int = 10 ;
1436
1437
1437
1438
pub const IPPROTO_MAX : c_int = 256 ;
Original file line number Diff line number Diff line change @@ -767,6 +767,7 @@ pub const ENOTSUP: c_int = EOPNOTSUPP;
767
767
768
768
pub const SOCK_SEQPACKET : c_int = 5 ;
769
769
pub const SOCK_DCCP : c_int = 6 ;
770
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
770
771
pub const SOCK_PACKET : c_int = 10 ;
771
772
772
773
pub const AF_IB : c_int = 27 ;
Original file line number Diff line number Diff line change 185
185
pub mr_address: [ c_uchar; 8 ] ,
186
186
}
187
187
188
+ #[ deprecated( since = "0.2.70" , note = "sockaddr_ll type must be used instead" ) ]
188
189
pub struct sockaddr_pkt {
189
190
pub spkt_family: c_ushort,
190
191
pub spkt_device: [ c_uchar; 14 ] ,
Original file line number Diff line number Diff line change @@ -718,6 +718,7 @@ pub const MAP_ANONYMOUS: c_int = MAP_ANON;
718
718
pub const SOCK_SEQPACKET : c_int = 5 ;
719
719
pub const SOCK_DCCP : c_int = 6 ;
720
720
pub const SOCK_NONBLOCK : c_int = O_NONBLOCK ;
721
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
721
722
pub const SOCK_PACKET : c_int = 10 ;
722
723
723
724
pub const SOMAXCONN : c_int = 128 ;
Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ pub const RUSAGE_THREAD: c_int = 1;
382
382
pub const SHM_EXEC : c_int = 0o100000 ;
383
383
pub const SIGPOLL : c_int = SIGIO ;
384
384
pub const SOCK_DCCP : c_int = 6 ;
385
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
385
386
pub const SOCK_PACKET : c_int = 10 ;
386
387
pub const TCP_COOKIE_TRANSACTIONS : c_int = 15 ;
387
388
pub const UDP_GRO : c_int = 104 ;
You can’t perform that action at this time.
0 commit comments