summaryrefslogtreecommitdiff
path: root/astraceroute.c
diff options
context:
space:
mode:
authoruno20001 <regisztralo111@gmail.com>2019-06-26 11:51:22 +0200
committerTobias Klauser <tklauser@distanz.ch>2019-10-02 09:31:12 +0200
commit500e708bfba7b2ccd2a3b687a2c3aef72cfbbe8e (patch)
treea857f01d9622c6f729c73bff3e2a29db6be267b0 /astraceroute.c
parent6f1e2e2be8ac532f1b6ed0b6c148decbd5e9fd13 (diff)
astraceroute: reorder function declarations
Group functions for the same protocol together. Signed-off-by: uno20001 <regisztralo111@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'astraceroute.c')
-rw-r--r--astraceroute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/astraceroute.c b/astraceroute.c
index d70802a..4567d03 100644
--- a/astraceroute.c
+++ b/astraceroute.c
@@ -74,17 +74,17 @@ static sig_atomic_t sigint = 0;
static int assemble_ipv4(uint8_t *packet, size_t len, int ttl, int proto,
const struct ctx *ctx, const struct sockaddr *dst,
const struct sockaddr *src);
-static int assemble_ipv6(uint8_t *packet, size_t len, int ttl, int proto,
- const struct ctx *ctx, const struct sockaddr *dst,
- const struct sockaddr *src);
static int check_ipv4(uint8_t *packet, size_t len, int ttl, int id,
const struct sockaddr *ss);
static void handle_ipv4(uint8_t *packet, size_t len, int dns_resolv,
int latitude);
+static int assemble_ipv6(uint8_t *packet, size_t len, int ttl, int proto,
+ const struct ctx *ctx, const struct sockaddr *dst,
+ const struct sockaddr *src);
static int check_ipv6(uint8_t *packet, size_t len, int ttl, int id,
const struct sockaddr *ss);
static void handle_ipv6(uint8_t *packet, size_t len, int dns_resolv,
- int latitude);
+ int latitude);
static const char *short_options = "H:p:nNf:m:b:i:d:q:x:SAEFPURt:Gl:hv46X:ZuL";
static const struct option long_options[] = {