forked from openwsn-berkeley/openwsn-fw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FW-878. initial commit for socket layer + udp
- Loading branch information
1 parent
0fe9728
commit 654bdcf
Showing
32 changed files
with
1,100 additions
and
921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef OPENWSN_AF_H | ||
#define OPENWSN_AF_H | ||
|
||
/** | ||
\brief Address families definitions | ||
*/ | ||
|
||
enum { | ||
AF_UNSPEC = 0, /**< unspecified address family */ | ||
#define AF_UNSPEC AF_UNSPEC /**< unspecified address family (as macro) */ | ||
AF_UNIX, /**< local to host (pipes, portals) address family. */ | ||
#define AF_UNIX AF_UNIX /**< unspecified address family (as macro) */ | ||
AF_PACKET, /**< packet family */ | ||
#define AF_PACKET AF_PACKET /**< packet family (as macro) */ | ||
AF_INET, /**< internetwork address family: UDP, TCP, etc. */ | ||
#define AF_INET AF_INET /**< internetwork address family: UDP, TCP, etc. (as macro) */ | ||
AF_INET6, /**< internetwork address family with IPv6: UDP, TCP, etc. */ | ||
#define AF_INET6 AF_INET6 /**< internetwork address family with IPv6: UDP, TCP, etc. (as macro) */ | ||
AF_NUMOF, /**< maximum number of address families on this system */ | ||
#define AF_NUMOF AF_NUMOF /**< maximum number of address families on this system (as macro) */ | ||
#define AF_MAX AF_NUMOF /**< alias for @ref AF_NUMOF */ | ||
}; | ||
|
||
#endif /* OPENWSN_AF_H */ |
Oops, something went wrong.