"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "netdissect.h" between
tcpdump-4.99.0.tar.gz and tcpdump-4.99.1.tar.gz

About: tcpdump is a tool for network monitoring and data acquisition.

netdissect.h  (tcpdump-4.99.0):netdissect.h  (tcpdump-4.99.1)
skipping to change at line 102 skipping to change at line 102
typedef unsigned char nd_ipv4[4]; typedef unsigned char nd_ipv4[4];
/* /*
* Use this for IPv6 addresses and netmasks. * Use this for IPv6 addresses and netmasks.
*/ */
typedef unsigned char nd_ipv6[16]; typedef unsigned char nd_ipv6[16];
/* /*
* Use this for MAC addresses. * Use this for MAC addresses.
*/ */
#define MAC_ADDR_LEN 6 /* length of MAC addresses */ #define MAC_ADDR_LEN 6U /* length of MAC addresses */
typedef unsigned char nd_mac_addr[MAC_ADDR_LEN]; typedef unsigned char nd_mac_addr[MAC_ADDR_LEN];
/* /*
* Use this for blobs of bytes; make them arrays of nd_byte. * Use this for blobs of bytes; make them arrays of nd_byte.
*/ */
typedef unsigned char nd_byte; typedef unsigned char nd_byte;
/* /*
* Round up x to a multiple of y; y must be a power of 2. * Round up x to a multiple of y; y must be a power of 2.
*/ */
skipping to change at line 394 skipping to change at line 394
#define ND_PRINT(...) (ndo->ndo_printf)(ndo, __VA_ARGS__) #define ND_PRINT(...) (ndo->ndo_printf)(ndo, __VA_ARGS__)
#define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length) #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length)
extern void ts_print(netdissect_options *, const struct timeval *); extern void ts_print(netdissect_options *, const struct timeval *);
extern void signed_relts_print(netdissect_options *, int32_t); extern void signed_relts_print(netdissect_options *, int32_t);
extern void unsigned_relts_print(netdissect_options *, uint32_t); extern void unsigned_relts_print(netdissect_options *, uint32_t);
extern void fn_print_char(netdissect_options *, u_char); extern void fn_print_char(netdissect_options *, u_char);
extern void fn_print_str(netdissect_options *, const u_char *); extern void fn_print_str(netdissect_options *, const u_char *);
extern int nd_print(netdissect_options *, const u_char *, const u_char *);
extern u_int nd_printztn(netdissect_options *, const u_char *, u_int, const u_ch ar *); extern u_int nd_printztn(netdissect_options *, const u_char *, u_int, const u_ch ar *);
extern int nd_printn(netdissect_options *, const u_char *, u_int, const u_char * ); extern int nd_printn(netdissect_options *, const u_char *, u_int, const u_char * );
extern void nd_printjnp(netdissect_options *, const u_char *, u_int); extern void nd_printjnp(netdissect_options *, const u_char *, u_int);
/* /*
* Flags for txtproto_print(). * Flags for txtproto_print().
*/ */
#define RESP_CODE_SECOND_TOKEN 0x00000001 /* response code is second token in response line */ #define RESP_CODE_SECOND_TOKEN 0x00000001 /* response code is second token in response line */
extern void txtproto_print(netdissect_options *, const u_char *, u_int, extern void txtproto_print(netdissect_options *, const u_char *, u_int,
skipping to change at line 707 skipping to change at line 706
extern void telnet_print(netdissect_options *, const u_char *, u_int); extern void telnet_print(netdissect_options *, const u_char *, u_int);
extern void tftp_print(netdissect_options *, const u_char *, u_int); extern void tftp_print(netdissect_options *, const u_char *, u_int);
extern void timed_print(netdissect_options *, const u_char *); extern void timed_print(netdissect_options *, const u_char *);
extern void tipc_print(netdissect_options *, const u_char *, u_int, u_int); extern void tipc_print(netdissect_options *, const u_char *, u_int, u_int);
extern u_int token_print(netdissect_options *, const u_char *, u_int, u_int); extern u_int token_print(netdissect_options *, const u_char *, u_int, u_int);
extern void udld_print(netdissect_options *, const u_char *, u_int); extern void udld_print(netdissect_options *, const u_char *, u_int);
extern void udp_print(netdissect_options *, const u_char *, u_int, const u_char *, int, u_int); extern void udp_print(netdissect_options *, const u_char *, u_int, const u_char *, int, u_int);
extern int vjc_print(netdissect_options *, const u_char *, u_short); extern int vjc_print(netdissect_options *, const u_char *, u_short);
extern void vqp_print(netdissect_options *, const u_char *, u_int); extern void vqp_print(netdissect_options *, const u_char *, u_int);
extern void vrrp_print(netdissect_options *, const u_char *, u_int, const u_char *, int); extern void vrrp_print(netdissect_options *, const u_char *, u_int, const u_char *, int);
extern void vtp_print(netdissect_options *, const u_char *, u_int); extern void vtp_print(netdissect_options *, const u_char *, const u_int);
extern void vxlan_gpe_print(netdissect_options *, const u_char *, u_int); extern void vxlan_gpe_print(netdissect_options *, const u_char *, u_int);
extern void vxlan_print(netdissect_options *, const u_char *, u_int); extern void vxlan_print(netdissect_options *, const u_char *, u_int);
extern void wb_print(netdissect_options *, const u_char *, u_int); extern void wb_print(netdissect_options *, const u_char *, u_int);
extern void zep_print(netdissect_options *, const u_char *, u_int); extern void zep_print(netdissect_options *, const u_char *, u_int);
extern void zephyr_print(netdissect_options *, const u_char *, int); extern void zephyr_print(netdissect_options *, const u_char *, u_int);
extern void zmtp1_print(netdissect_options *, const u_char *, u_int); extern void zmtp1_print(netdissect_options *, const u_char *, u_int);
extern void zmtp1_datagram_print(netdissect_options *, const u_char *, const u_i nt); extern void zmtp1_datagram_print(netdissect_options *, const u_char *, const u_i nt);
extern void someip_print(netdissect_options *, const u_char *, const u_int); extern void someip_print(netdissect_options *, const u_char *, const u_int);
/* checksum routines */ /* checksum routines */
extern void init_checksum(void); extern void init_checksum(void);
extern uint16_t verify_crc10_cksum(uint16_t, const u_char *, int); extern uint16_t verify_crc10_cksum(uint16_t, const u_char *, int);
extern uint16_t create_osi_cksum(const uint8_t *, int, int); extern uint16_t create_osi_cksum(const uint8_t *, int, int);
struct cksum_vec { struct cksum_vec {
 End of changes. 4 change blocks. 
4 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)