Hi,
I am trying to send out modified pcap packets in a loop as shown below.I am
trying to modify source IP and source port.
for each *packet[12 in number]*
for each *sip[2 in number]*
for each *port[10 in number]*
change to *port *and *sip *in *packet*
ret =
ng.
>>
>> Thanks
>> ++Keith
>>
>>
>> Keith Wiles, Principal Technologist for Networking member of the CTO
>> office, Wind River
>> mobile 940.213.5533
>> [Powering 30 Years of Innovation]<
>> http://www.windriver.com/announces/wr30/>
>&g
ng.
>
> Thanks
> ++Keith
>
>
> *Keith Wiles*, Principal Technologist for Networking member of the CTO
> office, *Wind River*
> mobile 940.213.5533
> [image: Powering 30 Years of
> Innovation]<http://www.windriver.com/announces/wr30/>
>
> On Jan 25, 2014,
hanks
> ++Keith
>
>*Keith Wiles*, Principal Technologist for Networking member of the CTO
> office, *Wind River*
> mobile 940.213.5533
> [image: Powering 30 Years of
> Innovation]<http://www.windriver.com/announces/wr30/>
>
> On Jan 24, 2014, at 12:54 PM, Bana
I was modifying a packet in pktgen_pcap_mbuf_ctor()
and after modifying I wanted to offload the checksum calculation to h/w
so I am setting these flags in pktgen_pcap_mbuf_ctor function.
m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr);
m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);
m
5 matches
Mail list logo