A diagram:
struct hdr_cmn { |
struct hdr_mac802_11 { |
|
#define HDR_MAC802_11(p) ((hdr_mac802_11 *)hdr_mac::access(p))There is no define of access function of struct hdr_mac802_11. The problem is that, we acccess the header use the struct mac_hdr, and then convert it to a 802.11 header. Thus, the frame space and frame format should have some realtion:
struct hdr_ip { |
class Agent : public Connector { |
struct sr_addr { |
SRNodeNew instproc init args { |