Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conditional field or struct #7

Closed
kontulai opened this issue Apr 30, 2012 · 0 comments
Closed

conditional field or struct #7

kontulai opened this issue Apr 30, 2012 · 0 comments
Milestone

Comments

@kontulai
Copy link
Member

The syntax could be for example:
u8 previous_field 1
new struct type name condition=previous_field==1
u8 struct_field 2
end struct

this functionality is needed for some gtpv2 information elements and probably for other protocols as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants