sergiocharpineljr / SDCCN-Controller

POF + CCN
0 stars 1 forks source link

interest and data packets #1

Open Luna-maria90 opened 3 years ago

Luna-maria90 commented 3 years ago

Hi in this line of sdccn-controller code https://github.com/sergiocharpineljr/SDCCN-Controller/blob/master/POFController/src/main/java/br/ufes/inf/sergio/POFCCNxListener.java#L161 you put the value "01d2" to identify the interest packet and the value "0482" to identify the data packet so what are these values came from? is there any reference to it?

sergiocharpineljr commented 3 years ago

Hi Luna. It's been six years I've written this code. I really can't remember :( . But I think it was in CNNx spec.

Luna-maria90 commented 3 years ago

hello sir well, I searched the web trying to find out what are these two values but I couldn't find anything about it. can you remember what version of ccnx did you use?

sergiocharpineljr commented 3 years ago

It was based on 0.8.X (https://github.com/ProjectCCNx/ccnx). Sorry for not helping you more.

Luna-maria90 commented 3 years ago

thanks for your help. I wonder if you can guide me to where the caching function is implemented in the dataplane? and can it be used for storing real packets?

sergiocharpineljr commented 3 years ago

I guess in https://github.com/sergiocharpineljr/SDCCN-Dataplane/blob/53ecafd50cb3ed04ddb1913397fdd6dc6a5e9ced/pofswitch-1.3.4/local_resource/pof_cache.c#L307

Luna-maria90 commented 3 years ago

thanks. how did you compile and run the controller, did you use the cli or eclipse? also I compiled the dataplane folder (install mininet, pofswitch, ccnx) but when I'm trying to start mininet it give me an error message "give up after 3 tries" so the issue is that the switch couldn't connect to the hosts because it was unable to create the links between them, so I know the problem but I couldn't figure out how to solve it, do you have any suggestions ?