Displaying 1 result from an estimated 1 matches for "constant_expr_alloc".
2013 Jul 20
6
[Bug 835] New: protocol without option is failing
...eportedBy: eric at regit.org
Estimated Hours: 0.0
When reading parser.y, it seems that tcp was meant to be used as standalone
keyword:
tcp_hdr_expr : TCP
{
uint8_t data = IPPROTO_TCP;
$$ = constant_expr_alloc(&@$,
&inet_protocol_type,
BYTEORDER_HOST_ENDIAN,
sizeof(data) *
BITS_PER_BYTE, &data);
}
| TCP tcp_hdr_field...