diff options
Diffstat (limited to 'networking/libiproute/libnetlink.h')
-rw-r--r-- | networking/libiproute/libnetlink.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 6c1a88129..079153b92 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h | |||
@@ -22,13 +22,13 @@ struct rtnl_handle | |||
22 | uint32_t dump; | 22 | uint32_t dump; |
23 | }; | 23 | }; |
24 | 24 | ||
25 | extern int xrtnl_open(struct rtnl_handle *rth); | 25 | extern int xrtnl_open(struct rtnl_handle *rth) FAST_FUNC; |
26 | extern void rtnl_close(struct rtnl_handle *rth); | 26 | extern void rtnl_close(struct rtnl_handle *rth) FAST_FUNC; |
27 | extern int xrtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type); | 27 | extern int xrtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type) FAST_FUNC; |
28 | extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len); | 28 | extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) FAST_FUNC; |
29 | extern int xrtnl_dump_filter(struct rtnl_handle *rth, | 29 | extern int xrtnl_dump_filter(struct rtnl_handle *rth, |
30 | int (*filter)(const struct sockaddr_nl*, struct nlmsghdr *n, void*), | 30 | int (*filter)(const struct sockaddr_nl*, struct nlmsghdr *n, void*), |
31 | void *arg1); | 31 | void *arg1) FAST_FUNC; |
32 | 32 | ||
33 | /* bbox doesn't use parameters no. 3, 4, 6, 7, stub them out */ | 33 | /* bbox doesn't use parameters no. 3, 4, 6, 7, stub them out */ |
34 | #define rtnl_talk(rtnl, n, peer, groups, answer, junk, jarg) \ | 34 | #define rtnl_talk(rtnl, n, peer, groups, answer, junk, jarg) \ |
@@ -36,17 +36,17 @@ extern int xrtnl_dump_filter(struct rtnl_handle *rth, | |||
36 | extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, | 36 | extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, |
37 | unsigned groups, struct nlmsghdr *answer, | 37 | unsigned groups, struct nlmsghdr *answer, |
38 | int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *), | 38 | int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *), |
39 | void *jarg); | 39 | void *jarg) FAST_FUNC; |
40 | 40 | ||
41 | extern int rtnl_send(struct rtnl_handle *rth, char *buf, int); | 41 | extern int rtnl_send(struct rtnl_handle *rth, char *buf, int) FAST_FUNC; |
42 | 42 | ||
43 | 43 | ||
44 | extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data); | 44 | extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data) FAST_FUNC; |
45 | extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen); | 45 | extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen) FAST_FUNC; |
46 | extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data); | 46 | extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data) FAST_FUNC; |
47 | extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen); | 47 | extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen) FAST_FUNC; |
48 | 48 | ||
49 | extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); | 49 | extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) FAST_FUNC; |
50 | 50 | ||
51 | #if __GNUC_PREREQ(4,1) | 51 | #if __GNUC_PREREQ(4,1) |
52 | # pragma GCC visibility pop | 52 | # pragma GCC visibility pop |