File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
36
36
([ #1853 ] ( https://github.com/nix-rust/nix/pull/1853 ) )
37
37
- Added ` new_unnamed ` and ` is_unnamed ` for ` UnixAddr ` on Linux and Android.
38
38
([ #1857 ] ( https://github.com/nix-rust/nix/pull/1857 ) )
39
+ - Added ` SockProtocol::Raw ` for raw sockets
40
+ ([ #1848 ] ( https://github.com/nix-rust/nix/pull/1848 ) )
39
41
40
42
### Changed
41
43
Original file line number Diff line number Diff line change @@ -118,6 +118,8 @@ pub enum SockProtocol {
118
118
Tcp = libc:: IPPROTO_TCP ,
119
119
/// UDP protocol ([ip(7)](https://man7.org/linux/man-pages/man7/ip.7.html))
120
120
Udp = libc:: IPPROTO_UDP ,
121
+ /// Raw sockets ([raw(7)](https://man7.org/linux/man-pages/man7/raw.7.html))
122
+ Raw = libc:: IPPROTO_RAW ,
121
123
/// Allows applications and other KEXTs to be notified when certain kernel events occur
122
124
/// ([ref](https://developer.apple.com/library/content/documentation/Darwin/Conceptual/NKEConceptual/control/control.html))
123
125
#[ cfg( any( target_os = "ios" , target_os = "macos" ) ) ]
You can’t perform that action at this time.
0 commit comments