diff options
author | Everton Marques <everton.marques@gmail.com> | 2009-11-19 17:00:23 -0200 |
---|---|---|
committer | Everton Marques <everton.marques@gmail.com> | 2009-11-19 17:00:23 -0200 |
commit | 6cf8c261d41624992f55b195aa52f8867c6833c7 (patch) | |
tree | 23b96354179268266b0421d3a93677bee37ec56f /pimd/pim_int.h | |
parent | 15bf8e5a2197afc46dee41f6bd30469832896f78 (diff) | |
download | quagga-6cf8c261d41624992f55b195aa52f8867c6833c7.tar.bz2 quagga-6cf8c261d41624992f55b195aa52f8867c6833c7.tar.xz |
[pim] Fix net/host byte order
Diffstat (limited to 'pimd/pim_int.h')
-rw-r--r-- | pimd/pim_int.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pimd/pim_int.h b/pimd/pim_int.h new file mode 100644 index 00000000..d64b1032 --- /dev/null +++ b/pimd/pim_int.h @@ -0,0 +1,31 @@ +/* + PIM for Quagga + Copyright (C) 2008 Everton da Silva Marques + + 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 2 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; see the file COPYING; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301 USA + + $QuaggaId: $Format:%an, %ai, %h$ $ +*/ + +#ifndef PIM_INT_H +#define PIM_INT_H + +#include <stdint.h> + +uint32_t pim_read_uint32_host(const uint8_t *buf); +void pim_write_uint32(uint8_t *buf, uint32_t val_host); + +#endif /* PIM_INT_H */ |