Changeset 1868
- Timestamp:
- 05/12/07 12:52:34 (20 months ago)
- Files:
-
- 1 modified
-
trunk/src/tcpedit/plugins/dlt_template/plugin.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tcpedit/plugins/dlt_template/plugin.c
r1841 r1868 74 74 plugin->dlt = dlt_value; 75 75 76 /* offset to src/dst mac's. must be >= 0 for a valid value or -1 for non-existent */77 plugin->srcmac_offset = -1;78 plugin->dstmac_offset = -1;79 80 81 76 /* set the prefix name of our plugin. This is also used as the prefix for our options */ 82 77 plugin->name = safe_strdup(dlt_name); … … 209 204 */ 210 205 int 211 dlt_%{plugin}_encode(tcpeditdlt_t *ctx, u_char **packet_ex, int pktlen, tcpr_dir_t dir)206 dlt_%{plugin}_encode(tcpeditdlt_t *ctx, u_char **packet_ex, int pktlen, _U_ tcpr_dir_t dir) 212 207 { 213 208 u_char *packet;
