Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
Good to know. Regards KK On 18 January 2011 20:01, Kyle Wang wrote: > I forgot this, thanks very much, it does work. > > On Wed, Jan 19, 2011 at 11:18 AM, kk yap wrote: >> >> If you want that, you should not have >> >>        ofm.buffer_id = htonl(-1); >> >> Put the buffer_id of the packet_in.

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread Kyle Wang
I forgot this, thanks very much, it does work. On Wed, Jan 19, 2011 at 11:18 AM, kk yap wrote: > If you want that, you should not have > >ofm.buffer_id = htonl(-1); > > Put the buffer_id of the packet_in. > > Regards > KK > > On 18 January 2011 18:58, Kyle Wang wrote: > > Hi KK, > > >

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
If you want that, you should not have ofm.buffer_id = htonl(-1); Put the buffer_id of the packet_in. Regards KK On 18 January 2011 18:58, Kyle Wang wrote: > Hi KK, > > My experiment was based on the Mininet. I wanted to change the destination > MAC address of the packets of some input

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
Hi Kyle, It might help to explain "it seemed to be not work". Did NOX segfault as a result? Was the a OpenFlow flow_mod sent? Was an error received? What switch are you using? These would be useful information. Regards KK On 18 January 2011 04:15, Kyle Wang wrote: > Hi, > how can I use fun

Re: [nox-dev] [POSSIBLE VIRUS:###] Re: Using flow fetcher

2011-01-18 Thread kk yap
Hi Paulo, It would help that flow_fetcher_app is actually defined like the rest of the components in NOX---with prototype in header file. Anyway, the details are for you to figure out, since I would also only know if I try to do the clean up. Regards KK On 18 January 2011 06:32, Paulo César wr

[nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread Kyle Wang
Hi, how can I use function *send_openflow_packet**(const datapathid& datapath_id, uint32_t buffer_id, const ofp_action_header actions[], uint16_t actions_len, uint16_t in_port, bool block)* to change the destination MAC address of the 1st packet of some flow, and then send this modified packet to

[nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread Kyle Wang
Hi, how can I use function *send_openflow_packet**(const datapathid& datapath_id, uint32_t buffer_id, const ofp_action_header actions[], uint16_t actions_len, uint16_t in_port, bool block)* to change the destination MAC address of the 1st packet of some flow, and then send this modified packet to