Actions
Feature #3168
openpfmod commands could be more useful
Status:
New
Priority:
Low
Assignee:
-
Category:
networking
Start date:
2012-09-08
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
pfmod(7m) defines the ENF_PUSHFF00 and ENF_PUSH00FF commands for pushing those useful constants onto it's evaluation stack when processing a packet (as it operates on 16-bit words). However, these values are in host byte order.
Since most network protocols tend to use network byte order for data, these aren't quite as useful as they could be. This RFE would be to define two new commands that will push 0xff00 or 0x00ff in network byte order onto it's stack. This should just be a matter of #defining the new commands in terms of the existing ones based on the host byte order.
No data to display
Actions