/plan9/sys/src/cmd/ip/snoopy/ |
H A D | bootp.c | 30 typedef struct Hdr Hdr; typedef 31 struct Hdr struct 33 uchar op; /* opcode */ 34 uchar htype; /* hardware type */ 35 uchar hlen; /* hardware address len */ 36 uchar hops; /* hops */ 37 uchar xid[4]; /* a random number */ 38 uchar secs[2]; /* elapsed since client started booting */ 39 uchar flags[2]; 40 uchar ciaddr[IPv4addrlen]; /* client IP address (client tells server) */ [all …]
|
H A D | arp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar hrd[2]; 11 uchar pro[2]; 12 uchar hln; 13 uchar pln; 14 uchar op[2]; 15 uchar sha[6]; 16 uchar spa[4]; 17 uchar tha[6]; [all …]
|
H A D | ip.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar vihl; /* Version and header length */ 11 uchar tos; /* Type of service */ 12 uchar length[2]; /* packet length */ 13 uchar id[2]; /* ip->identification */ 14 uchar frag[2]; /* Fragment information */ 15 uchar ttl; /* Time to live */ 16 uchar proto; /* Protocol */ 17 uchar cksum[2]; /* Header checksum */ [all …]
|
H A D | il.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar sum[2]; /* Checksum including header */ 11 uchar len[2]; /* Packet length */ 12 uchar type; /* Packet type */ 13 uchar spec; /* Special */ 14 uchar sport[2]; /* Src port */ 15 uchar dport[2]; /* Dst port */ 16 uchar id[4]; /* Sequence id */ 17 uchar ack[4]; /* Acked sequence */
|
H A D | rtp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr { struct 26 Hdr*h; in p_seprint() argument
|
H A D | rtcp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr { struct 9 uchar hdr; /* RTCP header */ 10 uchar pt; /* Packet type */ 11 uchar len[2]; /* Report length */ 12 uchar ssrc[4]; /* Synchronization source identifier */ 13 uchar ntp[8]; /* NTP time stamp */ 14 uchar rtp[4]; /* RTP time stamp */ 15 uchar pktc[4]; /* Sender's packet count */ 39 Hdr*h; in p_seprint() argument
|
H A D | gre.c | 27 typedef struct Hdr Hdr; typedef 28 struct Hdr struct 30 ushort flags; 31 ushort proto; 32 uchar version; 33 ushort chksum; 34 ushort offset; 35 ulong key; 36 ulong seq; 37 ulong route; [all …]
|
H A D | tcp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 21 typedef struct PseudoHdr{ argument
|
H A D | ether.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr { struct 9 uchar d[6]; 10 uchar s[6]; 11 uchar type[2]; 12 char data[1500];
|
H A D | udp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar sport[2]; /* Source port */ 11 uchar dport[2]; /* Destination port */ 12 uchar len[2]; /* data length */ 13 uchar cksum[2]; /* Checksum */
|
H A D | ip6.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar vcf[4]; /* Version and header length */ 11 uchar length[2]; /* packet length */ 12 uchar proto; /* Protocol */ 13 uchar ttl; /* Time to live */ 14 uchar src[IPaddrlen]; /* IP source */ 15 uchar dst[IPaddrlen]; /* IP destination */
|
H A D | pppoe_disc.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr { struct 9 uchar verstype; 10 uchar code; 11 uchar sessid[2]; 12 uchar length[2]; /* of payload */
|
H A D | icmp.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 9 { uchar type; 10 uchar code; 11 uchar cksum[2]; /* Checksum */ 12 uchar data[1];
|
H A D | eapol.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 17 EAPOLHDR= 4, /* sizeof(Hdr) */ argument
|
H A D | ttls.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar flags; 11 uchar ln[4]; /* optional, present if L flag set*/
|
H A D | eap.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 10 uchar code; 11 uchar id; 12 uchar len[2]; /* length including this header */ 14 uchar tp; /* optional, only for Request/Response */
|
H A D | icmp6.c | 7 typedef struct Hdr Hdr; typedef 8 struct Hdr struct 9 { uchar type; 10 uchar code; 11 uchar cksum[2]; /* Checksum */ 12 uchar data[1];
|
H A D | eapol_key.c | 7 typedef struct Hdr struct 10 } Hdr; typedef
|
H A D | aoecmd.c | 13 }Hdr; typedef
|
H A D | aoemd.c | 11 } Hdr; typedef
|
H A D | aoerr.c | 10 } Hdr; typedef
|
H A D | cec.c | 12 }Hdr; typedef
|
/plan9/sys/src/cmd/ip/ppp/ |
H A D | compress.c | 63 typedef struct Hdr Hdr; typedef 64 struct Hdr struct 80 Hdr t[MAX_STATES]; argument
|
/plan9/sys/src/cmd/ip/ipconfig/ |
H A D | ipv6.c | 26 typedef struct Hdr Hdr; typedef 27 struct Hdr /* ICMP v4 & v6 header */ struct 29 uchar type; 30 uchar code; 31 uchar cksum[2]; /* Checksum */ 32 uchar data[];
|
/plan9/sys/src/9/pc/ |
H A D | ether8390.c | 141 typedef struct Hdr Hdr; typedef 142 struct Hdr { struct 143 uchar status; 144 uchar next; 145 uchar len0; 146 uchar len1;
|