Add IPPROTO_ICMP and IPPROTO_ICMPV6 system constants
This commit is contained in:
parent
f0898c396c
commit
fdb213e415
@ -826,6 +826,8 @@ pub const SOCK_STREAM: ::c_int = 1;
|
||||
pub const SOCK_DGRAM: ::c_int = 2;
|
||||
pub const SOCK_RAW: ::c_int = 3;
|
||||
pub const SOCK_SEQPACKET: ::c_int = 5;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
@ -547,6 +547,8 @@ pub const SOCK_STREAM: ::c_int = 1;
|
||||
pub const SOCK_DGRAM: ::c_int = 2;
|
||||
pub const SOCK_RAW: ::c_int = 3;
|
||||
pub const SOCK_SEQPACKET: ::c_int = 5;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
@ -363,6 +363,8 @@ pub const SOCK_STREAM: ::c_int = 1;
|
||||
pub const SOCK_DGRAM: ::c_int = 2;
|
||||
pub const SOCK_RAW: ::c_int = 3;
|
||||
pub const SOCK_SEQPACKET: ::c_int = 5;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
@ -536,6 +536,8 @@ pub const AF_UNIX: ::c_int = 9;
|
||||
pub const AF_INET: ::c_int = 1;
|
||||
pub const AF_INET6: ::c_int = 6;
|
||||
pub const SOCK_RAW: ::c_int = 3;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
@ -437,6 +437,8 @@ pub const AF_INET6: ::c_int = 10;
|
||||
pub const AF_UNSPEC: ::c_int = 0;
|
||||
pub const AF_NETLINK: ::c_int = 16;
|
||||
pub const SOCK_RAW: ::c_int = 3;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
@ -782,6 +782,8 @@ pub const SOCK_STREAM: ::c_int = 2;
|
||||
pub const SOCK_RAW: ::c_int = 4;
|
||||
pub const SOCK_RDM: ::c_int = 5;
|
||||
pub const SOCK_SEQPACKET: ::c_int = 6;
|
||||
pub const IPPROTO_ICMP: ::c_int = 1;
|
||||
pub const IPPROTO_ICMPV6: ::c_int = 58;
|
||||
pub const IPPROTO_TCP: ::c_int = 6;
|
||||
pub const IPPROTO_IP: ::c_int = 0;
|
||||
pub const IPPROTO_IPV6: ::c_int = 41;
|
||||
|
Loading…
Reference in New Issue
Block a user