When I read about socket programming, I get to know that AF_ stands for Address Family. But literally, a family should have many members. So, what are the members of, say, AF_INET address family?
In my opinion, I think it would be more appropriate to say Address Type than Addresss Family. Also this applies to PF (Protocol Family).
Thanks.
The address-family <family> <type> command defines BGP behavior for each specific supported case. The most common address families are ipv4 unicast and ipv6 unicast . The other possible choices supported in this version are ipv4 multicast and ipv6 multicast .
Now, the "address-family ipv4" declares neighbors with whom we want to exchange normal "IPv4 unicast" routes. This may be surprising because to exchange IPv4 routes with a neighbor, it is sufficient to simply define that neighbor by its address.
Address Families-enabled routers establish peers based on IPv6 link-local addresses, but can advertise IPv4 routes. This capability allows IPv4 routers in different subnets to peer with each other through the IPv6 network (see Figure 1).
Members of AF_INET address family are IPv4 addresses. Members of AF_INET6 address family are IPv6 addresses. Members of AF_UNIX address family are names of Unix domain sockets ( /var/run/mysqld/mysqld. sock is an example).
Members of AF_INET
address family are IPv4 addresses.
Members of AF_INET6
address family are IPv6 addresses.
Members of AF_UNIX
address family are names of Unix domain sockets (/var/run/mysqld/mysqld.sock
is an example).
Members of AF_IPX
address family are IPX addresses, and so on. I don't think you really need to distinguish between family and type here. They are merely synonyms, except that family looks like more specialized, well-suited for this purpose, whilst type is a too much general word.
Name Purpose AF_UNIX, AF_LOCAL Local communication AF_INET IPv4 Internet protocols AF_INET6 IPv6 Internet protocols AF_IPX IPX - Novell protocols AF_NETLINK Kernel user interface device AF_X25 ITU-T X.25 / ISO-8208 protocol AF_AX25 Amateur radio AX.25 protocol AF_ATMPVC Access to raw ATM PVCs AF_APPLETALK Appletalk AF_PACKET Low level packet interface
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With