Send

ICMP(4) - Device Drivers Manual

Send, Netintro, Inet, Recv, Ip, Icmp

ICMP(4) - Device Drivers Manual # ICMP(4) - Device Drivers Manual NAME # icmp - Internet Control Message Protocol SYNOPSIS # #include <sys/socket.h> #include <netinet/in.h> int socket(AF_INET, SOCK_RAW, proto); DESCRIPTION # ICMP is the error and control message protocol used by IP and the Internet protocol family. It may be accessed through a “raw socket” for network monitoring and diagnostic functions. The proto parameter to the socket call to create an ICMP socket is obtained from getprotobyname(3). ...

ICMP6(4) - Device Drivers Manual

Send, Netintro, Getsockopt, Setsockopt, Getprotobyname, Socket, Inet6, Recv, Ip6, Icmp6

ICMP6(4) - Device Drivers Manual # ICMP6(4) - Device Drivers Manual NAME # icmp6 - Internet Control Message Protocol for IPv6 SYNOPSIS # #include <sys/socket.h> #include <netinet/in.h> #include <netinet/icmp6.h> int socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); DESCRIPTION # ICMPv6 is the error and control message protocol used by IPv6 and the IPv6 protocol family (see ip6(4) and inet6(4)). It may be accessed through a “raw socket” for network monitoring and diagnostic functions. ...

IP(4) - Device Drivers Manual

Send, Netintro, Getsockopt, Ioctl, Inet, Recv, Icmp, Ip

IP(4) - Device Drivers Manual # IP(4) - Device Drivers Manual NAME # ip - Internet Protocol SYNOPSIS # #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> int socket(AF_INET, SOCK_RAW, proto); DESCRIPTION # IP is the network layer protocol used by the Internet protocol family. Options may be set at the IP level when using higher-level protocols that are based on IP (such as TCP and UDP). It may also be accessed through a “raw socket” when developing new protocols, or special-purpose applications. ...

IP6(4) - Device Drivers Manual

Send, Udp, If_nametoindex, Netintro, Getsockopt, Setsockopt, Bpf, Socket, Inet6, Recv, Tcp, Icmp6, Ip6

IP6(4) - Device Drivers Manual # IP6(4) - Device Drivers Manual NAME # ip6 - Internet Protocol version 6 (IPv6) network layer SYNOPSIS # #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> int socket(AF_INET6, SOCK_RAW, proto); DESCRIPTION # The IPv6 network layer is used by the IPv6 protocol family for transporting data. IPv6 packets contain an IPv6 header that is not provided as part of the payload contents when passed to an application. ...

UDP(4) - Device Drivers Manual

Send, Netintro, Getsockopt, Socket, Inet, Inet6, Recv, Ip6, Ip, Udp

UDP(4) - Device Drivers Manual # UDP(4) - Device Drivers Manual NAME # udp - Internet User Datagram Protocol SYNOPSIS # #include <sys/socket.h> #include <netinet/in.h> int socket(AF_INET, SOCK_DGRAM, 0); int socket(AF_INET6, SOCK_DGRAM, 0); DESCRIPTION # UDP is a simple, unreliable datagram protocol which is used to support the SOCK_DGRAM abstraction for the Internet protocol family. UDP sockets are connectionless, and are normally used with the sendto(2) and recvfrom(2) calls, though the connect(2) call may also be used to fix the destination for future packets (in which case the recv(2) or read(2) and send(2) or write(2) system calls may be used). ...