Re-exports§
pub use ::dns_lookup as dns;pub use ::socket2 as raw;
Structs§
Enums§
Constants§
- AF_ALG
- AF_
APPLETALK - AF_ASH
- AF_
ATMPVC - AF_
ATMSVC - AF_AX25
- AF_
BLUETOOTH - AF_
BRIDGE - AF_CAN
- AF_
DECnet - AF_
ECONET - AF_INET
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AF_
INET6 - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AF_IPX
- AF_IRDA
- AF_KEY
- AF_LLC
- AF_
NETBEUI - AF_
NETLINK - AF_
NETROM - AF_
PACKET - AF_
PPPOX - AF_RDS
- AF_
ROUTE - AF_
SECURITY - AF_SNA
- AF_TIPC
- AF_UNIX
- AF_
UNSPEC - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AF_
VSOCK - AF_
WANPIPE - AF_X25
- AI_
ADDRCONFIG - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AI_ALL
- AI_
CANONNAME - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AI_
NUMERICHOST - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AI_
NUMERICSERV - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AI_
PASSIVE - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - AI_
V4MAPPED - ALG_
OP_ DECRYPT - ALG_
OP_ ENCRYPT - ALG_
SET_ AEAD_ ASSOCLEN - ALG_
SET_ AEAD_ AUTHSIZE - ALG_
SET_ IV - ALG_
SET_ KEY - ALG_
SET_ OP - BDADDR_
ANY - Bluetooth wildcard / local addresses. Header strings, not libc names.
- BDADDR_
LOCAL - CAN_BCM
- CAN_
BCM_ CAN_ FD_ FRAME - CAN_
BCM_ RX_ ANNOUNCE_ RESUME - CAN_
BCM_ RX_ CHANGED - CAN_
BCM_ RX_ CHECK_ DLC - CAN_
BCM_ RX_ DELETE - CAN_
BCM_ RX_ FILTER_ ID - CAN_
BCM_ RX_ NO_ AUTOTIMER - CAN_
BCM_ RX_ READ - CAN_
BCM_ RX_ RTR_ FRAME - CAN_
BCM_ RX_ SETUP - CAN_
BCM_ RX_ STATUS - CAN_
BCM_ RX_ TIMEOUT - CAN_
BCM_ SETTIMER - CAN_
BCM_ STARTTIMER - CAN_
BCM_ TX_ ANNOUNCE - CAN_
BCM_ TX_ COUNTEVT - CAN_
BCM_ TX_ CP_ CAN_ ID - CAN_
BCM_ TX_ DELETE - CAN_
BCM_ TX_ EXPIRED - CAN_
BCM_ TX_ READ - CAN_
BCM_ TX_ RESET_ MULTI_ IDX - CAN_
BCM_ TX_ SEND - CAN_
BCM_ TX_ SETUP linux/can/bcm.hopcodes and flags. Not in libc.- CAN_
BCM_ TX_ STATUS - CAN_
EFF_ FLAG - CAN_
EFF_ MASK - CAN_
ERR_ FLAG - CAN_
ERR_ MASK - CAN_
ISOTP - CAN_
J1939 - CAN_RAW
- CAN_
RAW_ ERR_ FILTER - CAN_
RAW_ FD_ FRAMES - CAN_
RAW_ FILTER - CAN_
RAW_ JOIN_ FILTERS - CAN_
RAW_ LOOPBACK - CAN_
RAW_ RECV_ OWN_ MSGS - CAN_
RTR_ FLAG - CAN_
SFF_ MASK - EAI_
AGAIN - EAI_
BADFLAGS - EAI_
FAIL - EAI_
FAMILY - EAI_
MEMORY - EAI_
NODATA - EAI_
NONAME - EAI_
OVERFLOW - EAI_
SERVICE - EAI_
SOCKTYPE - EAI_
SYSTEM - INADDR_
ALLHOSTS_ GROUP - INADDR_
ANY - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - INADDR_
BROADCAST - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - INADDR_
LOOPBACK - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - INADDR_
MAX_ LOCAL_ GROUP - INADDR_
NONE - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - INADDR_
UNSPEC_ GROUP - Multicast groups as unsigned host-order words. Windows publishes the
same bits as signed C longs (
INADDR_*_GROUPbelow). - IPPORT_
RESERVED - Port numbers some Unix libcs omit. Windows takes
IPPORT_RESERVEDfrom WinSock and definesIPPORT_USERRESERVEDbeside the other extras. - IPPORT_
USERRESERVED - IPPROTO_
AH - IP6 Auth Header
- IPPROTO_
DSTOPTS - IP6 destination option
- IPPROTO_
EGP - exterior gateway protocol
- IPPROTO_
ESP - IP6 Encap Sec. Payload
- IPPROTO_
FRAGMENT - IP6 fragmentation header
- IPPROTO_
GRE - General Routing Encap.
- IPPROTO_
HOPOPTS - Hop-by-hop option header
- IPPROTO_
ICMP - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
ICMP V6 - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
IDP - xns idp
- IPPROTO_
IGMP - group mgmt protocol
- IPPROTO_
IP - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
IPIP - for compatibility
- IPPROTO_
IPV6 - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
MPTCP - Multipath TCP
- IPPROTO_
NONE - IP6 no next header
- IPPROTO_
PIM - Protocol indep. multicast
- IPPROTO_
PUP - pup
- IPPROTO_
RAW - raw IP packet
- IPPROTO_
ROUTING - IP6 routing header
- IPPROTO_
RSVP - resource reservation
- IPPROTO_
SCTP - SCTP
- IPPROTO_
TCP - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
TP - tp-4 w/ class negotiation
- IPPROTO_
UDP - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - IPPROTO_
UDPLITE - IPV6_
CHECKSUM - IPV6_
DONTFRAG - IPV6_
DSTOPTS - IPV6_
HOPLIMIT - IPV6_
HOPOPTS - IPV6_
JOIN_ GROUP <netinet/in.h>join/leave and routing-header type. libc omits them on linux-gnu.- IPV6_
LEAVE_ GROUP - IPV6_
MULTICAST_ HOPS - IPV6_
MULTICAST_ IF - IPV6_
MULTICAST_ LOOP - IPV6_
NEXTHOP - IPV6_
PATHMTU - IPV6_
PKTINFO - IPV6_
RECVDSTOPTS - IPV6_
RECVHOPLIMIT - IPV6_
RECVHOPOPTS - IPV6_
RECVPATHMTU - IPV6_
RECVPKTINFO - IPV6_
RECVRTHDR - IPV6_
RECVTCLASS - IPV6_
RTHDR - IPV6_
RTHDRDSTOPTS - IPV6_
RTHDR_ TYPE_ 0 - IPV6_
TCLASS - IPV6_
UNICAST_ HOPS - IPV6_
V6ONLY - IP_
ADD_ MEMBERSHIP - IP_
DEFAULT_ MULTICAST_ LOOP - IP_
DROP_ MEMBERSHIP - IP_
HDRINCL - IP_
MULTICAST_ IF - IP_
MULTICAST_ LOOP - IP_
MULTICAST_ TTL - IP_
OPTIONS - IP_
RECVOPTS - IP_
RECVTOS - IP_
RETOPTS - IP_TOS
- IP_
TRANSPARENT - IP_TTL
- J1939_
IDLE_ ADDR - J1939_
MAX_ UNICAST_ ADDR - J1939_
NLA_ BYTES_ ACKED - J1939_
NLA_ PAD - J1939_
NO_ ADDR - J1939_
NO_ NAME - J1939_
NO_ PGN - J1939_
PGN_ ADDRESS_ CLAIMED - J1939_
PGN_ ADDRESS_ COMMANDED - J1939_
PGN_ MAX - J1939_
PGN_ PDU1_ MAX - J1939_
PGN_ REQUEST - MSG_
CMSG_ CLOEXEC - MSG_
CONFIRM - MSG_
CTRUNC - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - MSG_
DONTROUTE - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - MSG_
DONTWAIT - MSG_EOR
- MSG_
ERRQUEUE - MSG_
FASTOPEN - MSG_
MORE - MSG_
NOSIGNAL - MSG_OOB
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - MSG_
PEEK - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - MSG_
TRUNC - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - MSG_
WAITALL - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NETLINK_
CRYPTO - NETLINK_
DNRTMSG - NETLINK_
FIREWALL - NETLINK_
IP6_ FW - NETLINK_
NFLOG - NETLINK_
ROUTE - NETLINK_
USERSOCK - NETLINK_
XFRM - NI_
DGRAM - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NI_
MAXHOST - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NI_
MAXSERV - POSIX
<netdb.h>NI_MAXSERV. libc omits it on linux-gnu. - NI_
NAMEREQD - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NI_
NOFQDN - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NI_
NUMERICHOST - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - NI_
NUMERICSERV - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - PF_CAN
- PF_
PACKET - PF_RDS
- SCM_
CREDENTIALS - SCM_
J1939_ DEST_ ADDR - SCM_
J1939_ DEST_ NAME - SCM_
J1939_ ERRQUEUE - SCM_
J1939_ PRIO - SCM_
RIGHTS - SHUT_RD
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SHUT_
RDWR - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SHUT_WR
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SOCK_
CLOEXEC - SOCK_
DGRAM - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SOCK_
NONBLOCK - SOCK_
RAW - SOCK_
RDM - SOCK_
SEQPACKET - SOCK_
STREAM - SOL_ALG
- SOL_
CAN_ BASE - SOL_
CAN_ RAW - SOL_IP
- SOL_RDS
- SOL_
SOCKET - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SOL_
TIPC - SOL_UDP
- SOMAXCONN
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
ACCEPTCONN - SO_
BINDTODEVICE - SO_
BROADCAST - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
DEBUG - SO_
DOMAIN - SO_
DONTROUTE - SO_
ERROR - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
J1939_ ERRQUEUE - SO_
J1939_ FILTER - SO_
J1939_ PROMISC - SO_
J1939_ SEND_ PRIO - SO_
KEEPALIVE - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
LINGER - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_MARK
- SO_
OOBINLINE - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
PASSCRED - SO_
PASSSEC - SO_
PEERCRED - SO_
PEERSEC - SO_
PRIORITY - SO_
PROTOCOL - SO_
RCVBUF - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
RCVLOWAT - SO_
RCVTIMEO - SO_
REUSEADDR - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
REUSEPORT - SO_
SNDBUF - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
SNDLOWAT - SO_
SNDTIMEO - SO_TYPE
- Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - SO_
VM_ SOCKETS_ BUFFER_ MAX_ SIZE - SO_
VM_ SOCKETS_ BUFFER_ MIN_ SIZE - SO_
VM_ SOCKETS_ BUFFER_ SIZE linux/vm_sockets.h. libc does not bind the vsock sockopt / cid names.- TCP_
CONGESTION - TCP_
CORK - TCP_
DEFER_ ACCEPT - TCP_
FASTOPEN - TCP_
INFO - TCP_
KEEPCNT - TCP_
KEEPIDLE - TCP_
KEEPINTVL - TCP_
LINGE R2 - TCP_
MAXSEG - TCP_
NODELAY - Integer names the VM published from
libc as con unix. Windows already takes the overlapping set from this module. - TCP_
QUICKACK - TCP_
SYNCNT - TCP_
USER_ TIMEOUT - TCP_
WINDOW_ CLAMP - UDPLITE_
RECV_ CSCOV - UDPLITE_
SEND_ CSCOV netinet/udplite.h. libc does not bind the coverage sockopts.- VMADDR_
CID_ ANY - VMADDR_
CID_ HOST - VMADDR_
PORT_ ANY - VM_
SOCKETS_ INVALID_ VERSION
Functions§
- checked_
cmsg_ len - checked_
cmsg_ space - close_
socket_ ignore_ connreset - gai_
error_ string - getsockopt_
bytes - getsockopt_
int - h_
error_ string - hostname
- Returns the system’s hostname.
- if_
indextoname_ checked - if_
nameindex - if_
nametoindex_ checked - mac_
address - Returns a universally administered MAC address when available, otherwise
the first locally administered address, or
Nonewhen lookup fails. - pack_
ancillary_ messages - parse_
ancillary_ messages - recvmsg
- sendmsg_
afalg - sethostname
- Set the system’s hostname from its filesystem-encoded bytes.
- setsockopt_
bytes - setsockopt_
int - setsockopt_
none