Searched refs:dlc_header (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ntp.c48 extern char *dlc_header;
136 dlc_header, 1),
141 dlc_header, 1),
144 dlc_header, 1),
149 dlc_header, 1),
156 dlc_header, 1), "Poll = %hu", ntp->ppoll);
158 dlc_header, 1),
163 dlc_header, 1),
170 dlc_header, 1),
176 dlc_header,
[all...]
H A Dsnoop_tftp.c33 extern char *dlc_header;
93 dlc_header, 2),
104 get_line(name - dlc_header, strlen(name) + 1),
108 get_line(mode - dlc_header, strlen(mode) + 1),
116 dlc_header, 2), "Data block = %d%s",
120 dlc_header, blocksize),
127 dlc_header, 2), "Acknowledge block = %d",
133 dlc_header, 2), "Error = %d (%s)",
137 dlc_header, strlen(tftp->th_data) + 1),
H A Dsnoop_tcp.c46 extern char *dlc_header;
142 dlc_header, 2), "Source port = %d", ntohs(tcp->th_sport));
156 dlc_header, 2), "Destination port = %d %s",
159 dlc_header, 4), "Sequence number = %u",
161 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_ack - dlc_header, 4),
164 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_ack - dlc_header) +
167 dlc_header) + 4, 1), "Flags = 0x%02x", tcp->th_flags);
169 dlc_header) + 4, 1), " %s", getflag(tcp->th_flags, TH_CWR,
173 dlc_header) + 4, 1), " %s", getflag(tcp->th_flags, TH_ECE,
176 dlc_header)
[all...]
H A Dsnoop_mip.c46 extern char *dlc_header;
166 (void) sprintf(get_line((char *)payload-dlc_header, 1), msg, buf);
240 (void) sprintf(get_line((char *)exthdr-dlc_header, 1),
246 (void) sprintf(get_line((char *)exthdr-dlc_header, 1),
257 (void) sprintf(get_line((char *)&exthdr->length-dlc_header, 1),
508 dlc_header, 1), "Registration header type = %s",
511 (char *)(((uchar_t *)&rreq) + 1) - dlc_header, 1),
516 (char *)(((uchar_t *)&rreq) + 1) - dlc_header, 1),
521 (char *)(((uchar_t *)&rreq) + 1) - dlc_header, 1),
527 (char *)(((uchar_t *)&rreq) + 1) - dlc_header,
[all...]
H A Dsnoop_udp.c47 extern char *dlc_header;
83 dlc_header, 1), "Source port = %d", ntohs(udp->uh_sport));
97 dlc_header, 1), "Destination port = %d %s",
100 dlc_header, 1), "Length = %d %s",
106 dlc_header, 1), "Checksum = %04X %s",
H A Dsnoop_ipsec.c90 (void) sprintf(get_line((char *)&esph->esph_spi - dlc_header,
93 dlc_header, 4), "Replay = %u",
95 (void) sprintf(get_line((char *)(esph + 1) - dlc_header,
152 (void) sprintf(get_line((char *)&ah->ah_nexthdr - dlc_header,
155 (void) sprintf(get_line((char *)&ah->ah_length - dlc_header, 1),
157 (void) sprintf(get_line((char *)&ah->ah_reserved - dlc_header,
160 (void) sprintf(get_line((char *)&ah->ah_spi - dlc_header, 4),
162 (void) sprintf(get_line((char *)&ah->ah_replay - dlc_header, 4),
177 (void) sprintf(get_line((char *)auth_data - dlc_header,
H A Dsnoop_rip6.c44 extern char *dlc_header;
94 dlc_header, 1), "Opcode = %d (%s)", rip6->rip6_cmd,
97 dlc_header, 1), "Version = %d", rip6->rip6_vers);
116 (void) sprintf(get_line((char *)n - dlc_header,
H A Dsnoop_dhcp.c158 dlc_header, 1),
162 dlc_header, 1),
165 dlc_header, 1),
168 dlc_header, 4),
171 dlc_header, 2),
174 dlc_header, 2),
176 (void) sprintf(get_line((char *)&dp->ciaddr - dlc_header, 4),
178 (void) sprintf(get_line((char *)&dp->yiaddr - dlc_header, 4),
181 (void) sprintf(get_line((char *)&dp->siaddr - dlc_header, 4),
184 (void) sprintf(get_line((char *)&dp->giaddr - dlc_header,
[all...]
H A Dsnoop_rquota.c44 extern char *dlc_header;
H A Dsnoop_rip.c171 ((char *)nip - dlc_header,
177 ((char *)nip - dlc_header,
206 ((char *)nip - dlc_header,
H A Dsnoop_arp.c43 extern char *dlc_header;
H A Dsnoop_bparam.c44 extern char *dlc_header;
H A Dsnoop_display.c52 char *dlc_header; variable
97 dlc_header = pktp;
110 (*interface->interpreter)(flags, dlc_header, hdrp->sbh_msglen,
121 hexdump(dlc_header + offset, length);
H A Dsnoop_rstat.c41 extern char *dlc_header;
H A Dsnoop.h306 extern char *dlc_header;
H A Dsnoop_solarnet.c46 extern char *dlc_header;
H A Dsnoop_mount.c49 extern char *dlc_header;
H A Dsnoop_netbios.c48 extern char *dlc_header;
H A Dsnoop_nis.c48 extern char *dlc_header;
H A Dsnoop_pmap.c49 extern char *dlc_header;
H A Dsnoop_nlm.c44 extern char *dlc_header;
H A Dsnoop_ospf.c48 extern char *dlc_header;
H A Dsnoop_ospf6.c48 extern char *dlc_header;
H A Dsnoop_ether.c105 extern char *dlc_header;

Completed in 88 milliseconds