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 @@ -1474,6 +1474,7 @@ pub const SOCK_STREAM: c_int = 1;
1474
1474
pub const SOCK_DGRAM : c_int = 2 ;
1475
1475
pub const SOCK_SEQPACKET : c_int = 5 ;
1476
1476
pub const SOCK_DCCP : c_int = 6 ;
1477
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
1477
1478
pub const SOCK_PACKET : c_int = 10 ;
1478
1479
1479
1480
pub const IPPROTO_MAX : c_int = 256 ;
Original file line number Diff line number Diff line change @@ -763,6 +763,7 @@ pub const ENOTSUP: c_int = EOPNOTSUPP;
763
763
764
764
pub const SOCK_SEQPACKET : c_int = 5 ;
765
765
pub const SOCK_DCCP : c_int = 6 ;
766
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
766
767
pub const SOCK_PACKET : c_int = 10 ;
767
768
768
769
pub const AF_IB : c_int = 27 ;
Original file line number Diff line number Diff line change 186
186
pub mr_address: [ c_uchar; 8 ] ,
187
187
}
188
188
189
+ #[ deprecated( since = "0.2.70" , note = "sockaddr_ll type must be used instead" ) ]
189
190
pub struct sockaddr_pkt {
190
191
pub spkt_family: c_ushort,
191
192
pub spkt_device: [ c_uchar; 14 ] ,
Original file line number Diff line number Diff line change @@ -716,6 +716,7 @@ pub const MAP_ANONYMOUS: c_int = MAP_ANON;
716
716
pub const SOCK_SEQPACKET : c_int = 5 ;
717
717
pub const SOCK_DCCP : c_int = 6 ;
718
718
pub const SOCK_NONBLOCK : c_int = O_NONBLOCK ;
719
+ #[ deprecated( since = "0.2.70" , note = "AF_PACKET must be used instead" ) ]
719
720
pub const SOCK_PACKET : c_int = 10 ;
720
721
721
722
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