Search Results

Search: Posts Made By: katwala
2,406
Posted By katwala
I resolved this without the use of Arrays. I did...
I resolved this without the use of Arrays. I did a MOD operation on the the total number of ID's. I collected the first 5 ID's, performed the operation and saved it to a new file with a variable...
2,406
Posted By katwala
Variable Sized Array Length Question
I need to implement the following logic and need some expert help from UNIX community.

These are the steps in my Shell script.

1. Analyze a file.
2. Extract all the ID's in that file....
21,667
Posted By katwala
Thank you. The error on line 127 cleared up - I...
Thank you. The error on line 127 cleared up - I must have made a typo previously.

This line compiles just fine:

iphdr = (void *)((long *)&ethhdr + (long)sizeof(&ethhdr));

The next...
21,667
Posted By katwala
I forgot one thing: I had tried w/ ur...
I forgot one thing: I had tried w/ ur suggestion:
iphdr = (struct iphdr *)((long)&ethhdr + (long)sizeof(struct ethhdr));
and also with
iphdr = (void *)((long)&ethhdr + (long)sizeof(struct...
21,667
Posted By katwala
Modified your suggestion to: iphdr =...
Modified your suggestion to:

iphdr = (void *)((long)&ethhdr + (long)sizeof(&ethhdr));

And I don't see the error :

prepare_pcap.c:127: error: invalid application of `sizeof' to an...
21,667
Posted By katwala
Build Error: error: dereferencing pointer to incomplete type
Thank you for your reply. First a background on what I'm trying to do - I'm trying to compile SIPp (VoIP load generator) on Solaris Platform. This is an open Source code - however, a majority of...
21,667
Posted By katwala
Build Error: error: dereferencing pointer to incomplete type
I'm getting the following Error:

prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:127: error: dereferencing pointer to incomplete type
prepare_pcap.c:138: error: dereferencing pointer...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 07:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy