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

Support VendorAction #106

Closed
shun159 opened this issue Jan 6, 2015 · 0 comments
Closed

Support VendorAction #106

shun159 opened this issue Jan 6, 2015 · 0 comments
Assignees

Comments

@shun159
Copy link
Member

shun159 commented Jan 6, 2015

サンプルデータ

 binary = [1,13,0,212,0,0,0,0,255,255,255,255,255,255,0,132,0,1,0,8,0,10,0,0,0,2,0,8,0,0,0,0,0,3,0,8,0,0,0,0,0,4,0,16,0,0,0,0,0,1,0,0,0,0,0,0,0,5,0,16,0,0,0,0,0,2,0,0,0,0,0,0,0,6,0,8,10,0,0,1,0,7,0,8,20,0,0,2,0,8,0,8,184,0,0,0,0,9,0,8,0,8,0,0,0,10,0,8,0,0,0,0,0,11,0,16,0,1,0,0,0,0,0,0,0,0,0,1,255,255,0,12,0,0,4,210,110,97,122,111,0,0,0,8,0,1,0,128,0,38,130,235,234,209,0,22,157,29,156,196,8,0,69,0,0,50,0,0,0,0,128,1,18,121,192,168,83,3,192,168,83,254,8,0,246,255,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].pack "C*"

以下、内容です。

[{ set_vlan_vid, 10 },
{ set_vlan_priority, 0 },
{ strip_vlan_header },
{ set_eth_src_addr, <<0,0,0,0,0,1>> },
{ set_eth_dst_addr, <<0,0,0,0,0,2>> },
{ set_ip_src_addr, <<10,0,0,1>> },
{ set_ip_dst_addr, <<20,0,0,2>> },
{ set_ip_tos, 16#b8 },
{ set_transport_src_port, 8 },
{ set_transport_dst_port, 0 },
{ enqueue, 1, 1 },
{ vendor_action, 1234, <<"nazo">> },
{ send_out_port, 1, 128 }]
@yasuhito yasuhito self-assigned this Jan 6, 2015
@shun159 shun159 closed this as completed Jan 5, 2016
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