4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since a7282fb was
a7282fb,
checked in by Perry Lorier <perry@…>, 16 years ago
|
Fix lots of little warnings
|
-
Property mode set to
100644
|
File size:
352 bytes
|
Rev | Line | |
---|
[49f147b] | 1 | #ifndef IPENC_H |
---|
| 2 | #define IPENC_H |
---|
| 3 | #include <inttypes.h> |
---|
| 4 | /** The encryption algorithm used |
---|
| 5 | */ |
---|
| 6 | enum enc_type_t { |
---|
| 7 | ENC_NONE, /**< No encryption */ |
---|
| 8 | ENC_PREFIX_SUBSTITUTION, /**< Substitute a prefix */ |
---|
| 9 | ENC_CRYPTOPAN /**< Prefix preserving encryption */ |
---|
| 10 | }; |
---|
[a7282fb] | 11 | void enc_init(enum enc_type_t type, uint8_t *key); |
---|
[49f147b] | 12 | uint32_t enc_ip(uint32_t orig_addr); |
---|
| 13 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.