aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ll_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ll_proto.c')
-rw-r--r--networking/libiproute/ll_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c
index a93493538..145902b2e 100644
--- a/networking/libiproute/ll_proto.c
+++ b/networking/libiproute/ll_proto.c
@@ -98,7 +98,7 @@ __PF(ECONET,econet)
98#undef __PF 98#undef __PF
99 99
100 100
101const char *ll_proto_n2a(unsigned short id, char *buf, int len) 101const char* FAST_FUNC ll_proto_n2a(unsigned short id, char *buf, int len)
102{ 102{
103 unsigned i; 103 unsigned i;
104 id = ntohs(id); 104 id = ntohs(id);
@@ -110,7 +110,7 @@ const char *ll_proto_n2a(unsigned short id, char *buf, int len)
110 return buf; 110 return buf;
111} 111}
112 112
113int ll_proto_a2n(unsigned short *id, char *buf) 113int FAST_FUNC ll_proto_a2n(unsigned short *id, char *buf)
114{ 114{
115 unsigned i; 115 unsigned i;
116 for (i = 0; i < ARRAY_SIZE(llproto_names); i++) { 116 for (i = 0; i < ARRAY_SIZE(llproto_names); i++) {