| ... | @@ -226,3 +226,17 @@ pub const AF_TCNMESSAGE = 30; | ... | @@ -226,3 +226,17 @@ pub const AF_TCNMESSAGE = 30; |
| 226 | pub const AF_ICLFXBM = 31; | 226 | pub const AF_ICLFXBM = 31; |
| 227 | pub const AF_BTH = 32; | 227 | pub const AF_BTH = 32; |
| 228 | pub const AF_MAX = 33; | 228 | pub const AF_MAX = 33; |
| | 229 | |
| | 230 | pub const SOCK_STREAM = 1; |
| | 231 | pub const SOCK_DGRAM = 2; |
| | 232 | pub const SOCK_RAW = 3; |
| | 233 | pub const SOCK_RDM = 4; |
| | 234 | pub const SOCK_SEQPACKET = 5; |
| | 235 | |
| | 236 | pub const IPPROTO_ICMP = 1; |
| | 237 | pub const IPPROTO_IGMP = 2; |
| | 238 | pub const BTHPROTO_RFCOMM = 3; |
| | 239 | pub const IPPROTO_TCP = 6; |
| | 240 | pub const IPPROTO_UDP = 17; |
| | 241 | pub const IPPROTO_ICMPV6 = 58; |
| | 242 | pub const IPPROTO_RM = 113; |