summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorkolla <kolla>2009-09-11 13:45:47 +0000
committerkolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-09-11 13:45:47 +0000
commite99882a2347c5a55c78cdbe1c692bded77b046c1 (patch)
treea197373328127f38bc208c78cbb6ef7fc154470f /util.h
parent0e93182d8127c28b686d14a1ec3f686023063ba7 (diff)
Added Stefan's UDP fragmentation fix
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 1272b74..4ed8d01 100644
--- a/util.h
+++ b/util.h
@@ -15,6 +15,7 @@ struct sockaddr *addr_copy(struct sockaddr *in);
void port_set(struct sockaddr *sa, uint16_t port);
void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len);
+void disable_DF_bit(int socket, struct addrinfo *res);
int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only);
int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout);