Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4e343796
Commit
4e343796
authored
Jul 19, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #984654: Add more address family constants.
parent
6085f5a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
Modules/socketmodule.c
Modules/socketmodule.c
+60
-0
No files found.
Modules/socketmodule.c
View file @
4e343796
...
...
@@ -3832,6 +3832,10 @@ init_socket(void)
/* Multiprotocol bridge */
PyModule_AddIntConstant
(
m
,
"AF_BRIDGE"
,
AF_BRIDGE
);
#endif
#ifdef AF_ATMPVC
/* ATM PVCs */
PyModule_AddIntConstant
(
m
,
"AF_ATMPVC"
,
AF_ATMPVC
);
#endif
#ifdef AF_AAL5
/* Reserved for Werner's ATM */
PyModule_AddIntConstant
(
m
,
"AF_AAL5"
,
AF_AAL5
);
...
...
@@ -3847,6 +3851,62 @@ init_socket(void)
/* Amateur Radio X.25 PLP */
PyModule_AddIntConstant
(
m
,
"AF_ROSE"
,
AF_ROSE
);
#endif
#ifdef AF_DECnet
/* Reserved for DECnet project */
PyModule_AddIntConstant
(
m
,
"AF_DECnet"
,
AF_DECnet
);
#endif
#ifdef AF_NETBEUI
/* Reserved for 802.2LLC project */
PyModule_AddIntConstant
(
m
,
"AF_NETBEUI"
,
AF_NETBEUI
);
#endif
#ifdef AF_SECURITY
/* Security callback pseudo AF */
PyModule_AddIntConstant
(
m
,
"AF_SECURITY"
,
AF_SECURITY
);
#endif
#ifdef AF_KEY
/* PF_KEY key management API */
PyModule_AddIntConstant
(
m
,
"AF_KEY"
,
AF_KEY
);
#endif
#ifdef AF_NETLINK
/* */
PyModule_AddIntConstant
(
m
,
"AF_NETLINK"
,
AF_NETLINK
);
#endif
#ifdef AF_ROUTE
/* Alias to emulate 4.4BSD */
PyModule_AddIntConstant
(
m
,
"AF_ROUTE"
,
AF_ROUTE
);
#endif
#ifdef AF_ASH
/* Ash */
PyModule_AddIntConstant
(
m
,
"AF_ASH"
,
AF_ASH
);
#endif
#ifdef AF_ECONET
/* Acorn Econet */
PyModule_AddIntConstant
(
m
,
"AF_ECONET"
,
AF_ECONET
);
#endif
#ifdef AF_ATMSVC
/* ATM SVCs */
PyModule_AddIntConstant
(
m
,
"AF_ATMSVC"
,
AF_ATMSVC
);
#endif
#ifdef AF_SNA
/* Linux SNA Project (nutters!) */
PyModule_AddIntConstant
(
m
,
"AF_SNA"
,
AF_SNA
);
#endif
#ifdef AF_IRDA
/* IRDA sockets */
PyModule_AddIntConstant
(
m
,
"AF_IRDA"
,
AF_IRDA
);
#endif
#ifdef AF_PPPOX
/* PPPoX sockets */
PyModule_AddIntConstant
(
m
,
"AF_PPPOX"
,
AF_PPPOX
);
#endif
#ifdef AF_WANPIPE
/* Wanpipe API Sockets */
PyModule_AddIntConstant
(
m
,
"AF_WANPIPE"
,
AF_WANPIPE
);
#endif
#ifdef AF_LLC
/* Linux LLC */
PyModule_AddIntConstant
(
m
,
"AF_LLC"
,
AF_LLC
);
#endif
#ifdef USE_BLUETOOTH
PyModule_AddIntConstant
(
m
,
"AF_BLUETOOTH"
,
AF_BLUETOOTH
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment