]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Put some function definition names at the beginning of line
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 16 Nov 2017 07:46:28 +0000 (08:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 16 Nov 2017 07:46:28 +0000 (08:46 +0100)
print-dccp.c
print-lisp.c
print-sctp.c

index 6e252642724037bab9cde76adc064568c6c40803..64a7fb760ff24edc446cbe60faec8f25f875e8e4 100644 (file)
@@ -265,8 +265,9 @@ static int dccp_print_option(netdissect_options *, const u_char *, u_int);
  * @data2 - beginning of enclosing
  * @len - lenght of ip packet
  */
-void dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2,
-               u_int len)
+void
+dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2,
+          u_int len)
 {
        const struct dccp_hdr *dh;
        const struct ip *ip;
index 149b1522356f3a264811963e52a25e46b150df67..e5b150776226bb3408aa72288c3d5024623f337c 100644 (file)
@@ -229,7 +229,8 @@ static void lisp_hdr_flag(netdissect_options *, const lisp_map_register_hdr *);
 static void action_flag(netdissect_options *, uint8_t);
 static void loc_hdr_flag(netdissect_options *, uint16_t);
 
-void lisp_print(netdissect_options *ndo, const u_char *bp, u_int length)
+void
+lisp_print(netdissect_options *ndo, const u_char *bp, u_int length)
 {
        uint8_t type;
        uint8_t mask_len;
index f625dce67b03df12bb578dd600ea3cf918d5d825..91f10c1ee56279382f21feb90a1f20677cd3a8c0 100644 (file)
@@ -490,10 +490,11 @@ static inline int isForCES_port(u_short Port)
        return 0;
 }
 
-void sctp_print(netdissect_options *ndo,
-                const u_char *bp,        /* beginning of sctp packet */
-                const u_char *bp2,       /* beginning of enclosing */
-                u_int sctpPacketLength)  /* ip packet */
+void
+sctp_print(netdissect_options *ndo,
+           const u_char *bp,        /* beginning of sctp packet */
+           const u_char *bp2,       /* beginning of enclosing */
+           u_int sctpPacketLength)  /* ip packet */
 {
   u_int sctpPacketLengthRemaining;
   const struct sctpHeader *sctpPktHdr;