Home
last modified time | relevance | path

Searched defs:Hdr (Results 1 – 25 of 33) sorted by relevance

12

/plan9/sys/src/cmd/ip/snoopy/
H A Dbootp.c30 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 Darp.c7 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 Dip.c7 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 Dil.c7 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 Drtp.c7 typedef struct Hdr Hdr; typedef
8 struct Hdr { struct
26 Hdr*h; in p_seprint() argument
H A Drtcp.c7 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 Dgre.c27 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 Dtcp.c7 typedef struct Hdr Hdr; typedef
8 struct Hdr struct
21 typedef struct PseudoHdr{ argument
H A Dether.c7 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 Dudp.c7 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 Dip6.c7 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 Dpppoe_disc.c7 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 Dicmp.c7 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 Deapol.c7 typedef struct Hdr Hdr; typedef
8 struct Hdr struct
17 EAPOLHDR= 4, /* sizeof(Hdr) */ argument
H A Dttls.c7 typedef struct Hdr Hdr; typedef
8 struct Hdr struct
10 uchar flags;
11 uchar ln[4]; /* optional, present if L flag set*/
H A Deap.c7 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 Dicmp6.c7 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 Deapol_key.c7 typedef struct Hdr struct
10 } Hdr; typedef
H A Daoecmd.c13 }Hdr; typedef
H A Daoemd.c11 } Hdr; typedef
H A Daoerr.c10 } Hdr; typedef
H A Dcec.c12 }Hdr; typedef
/plan9/sys/src/cmd/ip/ppp/
H A Dcompress.c63 typedef struct Hdr Hdr; typedef
64 struct Hdr struct
80 Hdr t[MAX_STATES]; argument
/plan9/sys/src/cmd/ip/ipconfig/
H A Dipv6.c26 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 Dether8390.c141 typedef struct Hdr Hdr; typedef
142 struct Hdr { struct
143 uchar status;
144 uchar next;
145 uchar len0;
146 uchar len1;

12