Socket Address Family#

Macros#

#define

Unspecified address family.

#define

Local to host (UNIX domain) address family.

#define
AF_LOCAL AF_UNIX

POSIX compatibility alias for AF_UNIX.

#define

Internet IP Protocol address family.

#define

ARPANET IMP address family.

#define

PUP protocols (e.g., BSP) address family.

#define

MIT CHAOS protocols address family.

#define

XEROX NS protocols address family.

#define

ISO protocols address family.

#define
AF_OSI AF_ISO

OSI protocol family.

#define

European Computer Manufacturers Association (ECMA) protocols address family.

#define

Datakit protocols address family.

#define

CCITT protocols (e.g., X.25) address family.

#define

IBM SNA address family.

#define

DECnet address family.

#define

DEC Direct data link interface address family.

#define

LAT address family.

#define

NSC Hyperchannel address family.

#define

AppleTalk address family.

#define

Internal Routing Protocol address family.

#define

Link layer interface address family.

#define

eXpress Transfer Protocol (no AF).

#define

Connection-oriented IP, aka ST II address family.

#define

Computer Network Technology address family.

#define

Identifier for RTIP packets.

#define

Novell Internet Protocol address family.

#define

IPv6 address family.

#define

Identifier for PIP packets.

#define

Integrated Services Digital Network address family.

#define
AF_E164 AF_ISDN

CCITT E.164 recommendation address family.

#define

Native ATM access address family.

#define

Encapsulation address family.

#define

Simple Internet Protocol address family.

#define

Key management protocol address family (originally developed for usage with IPsec).

#define

Used by BPF to not rewrite headers in interface output routine.

#define

Bluetooth address family.

#define

MPLS address family.

#define

Identifier for pflow packets.

#define

Identifier for PIPEX packets.

#define

Maximum address family value.

Macro Definition Documentation#

AF_UNSPEC#

#define AF_UNSPEC
Value:
0

Unspecified address family.


Definition at line 205 of file components/service/bsd_socket/inc/socket.h

AF_UNIX#

#define AF_UNIX
Value:
1

Local to host (UNIX domain) address family.


Definition at line 206 of file components/service/bsd_socket/inc/socket.h

AF_LOCAL#

#define AF_LOCAL
Value:
AF_UNIX

POSIX compatibility alias for AF_UNIX.


Definition at line 207 of file components/service/bsd_socket/inc/socket.h

AF_INET#

#define AF_INET
Value:
2

Internet IP Protocol address family.


Definition at line 208 of file components/service/bsd_socket/inc/socket.h

AF_IMPLINK#

#define AF_IMPLINK
Value:
3

ARPANET IMP address family.


Definition at line 209 of file components/service/bsd_socket/inc/socket.h

AF_PUP#

#define AF_PUP
Value:
4

PUP protocols (e.g., BSP) address family.


Definition at line 210 of file components/service/bsd_socket/inc/socket.h

AF_CHAOS#

#define AF_CHAOS
Value:
5

MIT CHAOS protocols address family.


Definition at line 211 of file components/service/bsd_socket/inc/socket.h

AF_NS#

#define AF_NS
Value:
6

XEROX NS protocols address family.


Definition at line 212 of file components/service/bsd_socket/inc/socket.h

AF_ISO#

#define AF_ISO
Value:
7

ISO protocols address family.


Definition at line 213 of file components/service/bsd_socket/inc/socket.h

AF_OSI#

#define AF_OSI
Value:
AF_ISO

OSI protocol family.


Definition at line 214 of file components/service/bsd_socket/inc/socket.h

AF_ECMA#

#define AF_ECMA
Value:
8

European Computer Manufacturers Association (ECMA) protocols address family.


Definition at line 215 of file components/service/bsd_socket/inc/socket.h

AF_DATAKIT#

#define AF_DATAKIT
Value:
9

Datakit protocols address family.


Definition at line 216 of file components/service/bsd_socket/inc/socket.h

AF_CCITT#

#define AF_CCITT
Value:
10

CCITT protocols (e.g., X.25) address family.


Definition at line 217 of file components/service/bsd_socket/inc/socket.h

AF_SNA#

#define AF_SNA
Value:
11

IBM SNA address family.


Definition at line 218 of file components/service/bsd_socket/inc/socket.h

AF_DECnet#

#define AF_DECnet
Value:
12

DECnet address family.


Definition at line 219 of file components/service/bsd_socket/inc/socket.h

AF_DLI#

#define AF_DLI
Value:
13

DEC Direct data link interface address family.


Definition at line 220 of file components/service/bsd_socket/inc/socket.h

AF_LAT#

#define AF_LAT
Value:
14

LAT address family.


Definition at line 221 of file components/service/bsd_socket/inc/socket.h

AF_HYLINK#

#define AF_HYLINK
Value:
15

NSC Hyperchannel address family.


Definition at line 222 of file components/service/bsd_socket/inc/socket.h

AF_APPLETALK#

#define AF_APPLETALK
Value:
16

AppleTalk address family.


Definition at line 223 of file components/service/bsd_socket/inc/socket.h

AF_ROUTE#

#define AF_ROUTE
Value:
17

Internal Routing Protocol address family.


Definition at line 224 of file components/service/bsd_socket/inc/socket.h

AF_LINK#

#define AF_LINK
Value:
18

Link layer interface address family.


Definition at line 225 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_XTP#

#define pseudo_AF_XTP
Value:
19

eXpress Transfer Protocol (no AF).


Definition at line 226 of file components/service/bsd_socket/inc/socket.h

AF_COIP#

#define AF_COIP
Value:
20

Connection-oriented IP, aka ST II address family.


Definition at line 227 of file components/service/bsd_socket/inc/socket.h

AF_CNT#

#define AF_CNT
Value:
21

Computer Network Technology address family.


Definition at line 228 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_RTIP#

#define pseudo_AF_RTIP
Value:
22

Identifier for RTIP packets.


Definition at line 229 of file components/service/bsd_socket/inc/socket.h

AF_IPX#

#define AF_IPX
Value:
23

Novell Internet Protocol address family.


Definition at line 230 of file components/service/bsd_socket/inc/socket.h

AF_INET6#

#define AF_INET6
Value:
24

IPv6 address family.


Definition at line 231 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_PIP#

#define pseudo_AF_PIP
Value:
25

Identifier for PIP packets.


Definition at line 232 of file components/service/bsd_socket/inc/socket.h

AF_ISDN#

#define AF_ISDN
Value:
26

Integrated Services Digital Network address family.


Definition at line 233 of file components/service/bsd_socket/inc/socket.h

AF_E164#

#define AF_E164
Value:
AF_ISDN

CCITT E.164 recommendation address family.


Definition at line 234 of file components/service/bsd_socket/inc/socket.h

AF_NATM#

#define AF_NATM
Value:
27

Native ATM access address family.


Definition at line 235 of file components/service/bsd_socket/inc/socket.h

AF_ENCAP#

#define AF_ENCAP
Value:
28

Encapsulation address family.


Definition at line 236 of file components/service/bsd_socket/inc/socket.h

AF_SIP#

#define AF_SIP
Value:
29

Simple Internet Protocol address family.


Definition at line 237 of file components/service/bsd_socket/inc/socket.h

AF_KEY#

#define AF_KEY
Value:
30

Key management protocol address family (originally developed for usage with IPsec).


Definition at line 238 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_HDRCMPLT#

#define pseudo_AF_HDRCMPLT
Value:
31

Used by BPF to not rewrite headers in interface output routine.


Definition at line 239 of file components/service/bsd_socket/inc/socket.h

AF_BLUETOOTH#

#define AF_BLUETOOTH
Value:
32

Bluetooth address family.


Definition at line 240 of file components/service/bsd_socket/inc/socket.h

AF_MPLS#

#define AF_MPLS
Value:
33

MPLS address family.


Definition at line 241 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_PFLOW#

#define pseudo_AF_PFLOW
Value:
34

Identifier for pflow packets.


Definition at line 242 of file components/service/bsd_socket/inc/socket.h

pseudo_AF_PIPEX#

#define pseudo_AF_PIPEX
Value:
35

Identifier for PIPEX packets.


Definition at line 243 of file components/service/bsd_socket/inc/socket.h

AF_MAX#

#define AF_MAX
Value:
36

Maximum address family value.


Definition at line 244 of file components/service/bsd_socket/inc/socket.h