hexdump.c (n2n-3.0) | : | hexdump.c (n2n-3.1.1) | ||
---|---|---|---|---|
/** | ||||
* (C) 2007-22 - ntop.org and contributors | ||||
* | ||||
* This program is free software; you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation; either version 3 of the License, or | ||||
* (at your option) any later version. | ||||
* | ||||
* This program is distributed in the hope that it will be useful, | ||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
* GNU General Public License for more details. | ||||
* | ||||
* You should have received a copy of the GNU General Public License | ||||
* along with this program; if not see see <http://www.gnu.org/licenses/> | ||||
* | ||||
*/ | ||||
#include <stdio.h> | #include <stdio.h> | |||
#include "n2n.h" | #include "n2n.h" | |||
#include "hexdump.h" | #include "hexdump.h" | |||
void fhexdump(unsigned int display_addr, void *in, int size, FILE *stream) { | void fhexdump(unsigned int display_addr, void *in, int size, FILE *stream) { | |||
uint8_t *p = in; | uint8_t *p = in; | |||
while(size>0) { | while(size>0) { | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 17 lines changed or added |