MINOR: http: export function inet_set_tos()
This is used by Lua.
diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h
index 452ffdd..36e6eb8 100644
--- a/include/proto/proto_http.h
+++ b/include/proto/proto_http.h
@@ -105,6 +105,7 @@
unsigned int name_len, const char *str, struct my_regex *re,
int action);
void http_sess_log(struct session *s);
+void inet_set_tos(int fd, struct sockaddr_storage from, int tos);
void http_perform_server_redirect(struct session *s, struct stream_interface *si);
void http_return_srv_error(struct session *s, struct stream_interface *si);
void http_capture_bad_message(struct error_snapshot *es, struct session *s,
diff --git a/src/proto_http.c b/src/proto_http.c
index 8ad1564..83dd3a4 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -3229,7 +3229,7 @@
/* Sets the TOS header in IPv4 and the traffic class header in IPv6 packets
* (as per RFC3260 #4 and BCP37 #4.2 and #5.2).
*/
-static inline void inet_set_tos(int fd, struct sockaddr_storage from, int tos)
+void inet_set_tos(int fd, struct sockaddr_storage from, int tos)
{
#ifdef IP_TOS
if (from.ss_family == AF_INET)