icmp
struct icmp *ic;
ic = (struct icmp *) ud;
struct icmp *ic;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
struct icmp *ic, *ic2;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
ic2 = (struct icmp *) ud;
struct icmp *ic;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
struct icmp *ic;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
struct icmp *ic, *ic2;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
ic2 = (struct icmp *) ud;
struct icmp *ic;
ic = (struct icmp *) ((char *) pip + (pip->ip_hl << 2));
icmp,
struct icmp* icmp;
icmp = (struct icmp *)(icmpBuf + sizeof(struct ip));
icmp->icmp_type = ICMP_UNREACH;
icmp->icmp_code = ICMP_UNREACH_NEEDFRAG;
icmp->icmp_cksum = 0;
icmp->icmp_void = 0;
icmp->icmp_nextmtu = htons(mtu);
memcpy(&icmp->icmp_ip, failedDgram, failBytes);
icmp->icmp_cksum = PacketAliasInternetChecksum((u_short *)icmp,
struct icmp* icmphdr;
icmphdr = (struct icmp *)((char *)ip + (ip->ip_hl << 2));
struct icmp *oicmp = (struct icmp *)(oip + 1);
pr_icmph(struct icmp *icp)
static void pr_icmph(struct icmp *);
struct icmp *icp;
icp = (struct icmp *)outpack;
struct icmp *icp;
icp = (struct icmp *)(buf + hlen);
switch (p->icmp.icmp_type) {
if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
struct icmp icmp;
if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
} else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) {
if (p->icmp.icmp_code != 0) {
type, p->icmp.icmp_code,
static int icmp6type_match (struct icmp6_hdr * icmp, struct ip6_fw * f);
struct icmp6_hdr *icmp;
icmp = (struct icmp6_hdr *) ((caddr_t)ip6 + off);
if (!icmp6type_match(icmp, f))
int type = L3HDR(struct icmp,ip)->icmp_type;
int code = L3HDR(struct icmp,ip)->icmp_code;
int type = L3HDR(struct icmp, ip)->icmp_type;
struct icmp *const icmp = L3HDR(struct icmp, ip);
struct tcphdr *const tcp = (struct tcphdr *)icmp;
struct udphdr *const udp = (struct udphdr *)icmp;
icmp->icmp_type,
icmp->icmp_code);
args->f_id.flags = L3HDR(struct icmp, ip)->icmp_type;
struct icmp *icmp;
icmp = L3HDR(struct icmp, ip);
args->f_id.flags = icmp->icmp_type;
dst_port = icmp->icmp_id;
old_port = &L3HDR(struct icmp, ip)->icmp_id;
csum = &L3HDR(struct icmp, ip)->icmp_cksum;
k->src_port = L3HDR(struct icmp, ip)->icmp_id;
old_port = &L3HDR(struct icmp, ip)->icmp_id;
csum = &L3HDR(struct icmp, ip)->icmp_cksum;
sport = dport = pd->hdr.icmp->icmp_id;
hdrlen = sizeof(*pd->hdr.icmp);
icmptype = pd->hdr.icmp->icmp_type;
icmpcode = pd->hdr.icmp->icmp_code;
if (nk->port[1] != pd->hdr.icmp->icmp_id) {
pd->hdr.icmp->icmp_cksum = pf_cksum_fixup(
pd->hdr.icmp->icmp_cksum, sport,
pd->hdr.icmp->icmp_id = nk->port[1];
pd->sport = &pd->hdr.icmp->icmp_id;
m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
icmptype = pd->hdr.icmp->icmp_type;
icmpid = pd->hdr.icmp->icmp_id;
icmpsum = &pd->hdr.icmp->icmp_cksum;
pd->hdr.icmp->icmp_id) {
pd->hdr.icmp->icmp_cksum =
pd->hdr.icmp->icmp_cksum, icmpid,
pd->hdr.icmp->icmp_id =
m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
icmptype, pd->hdr.icmp->icmp_code);
icmptype, pd->hdr.icmp->icmp_code);
pd->hdr.icmp);
pd->hdr.icmp);
struct icmp iih;
m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
pd->hdr.icmp);
struct icmp ih;
pd.hdr.icmp = &ih;
struct icmp *icmp;
SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp, CTLFLAG_RW, 0, "ICMP");
struct icmp *icp;
icp = mtod(m, struct icmp *);
struct icmp *icp;
!ICMP_INFOTYPE(((struct icmp *)((caddr_t)oip + oiplen))->icmp_type)) {
icp = mtod(m, struct icmp *);
struct icmp *icp;
icp = mtodoff(m, struct icmp *, hlen);
struct icmp *icp;
icp = mtodoff(m, struct icmp *, hlen);
struct icmp *icp;
icp = mtodoff(m, struct icmp *, hlen);
struct icmp *icp;
icp = mtodoff(m, struct icmp *, hlen);
struct icmp *icp;
icp = (struct icmp *)((caddr_t)ip + hlen);
const struct icmp *icmp = (const struct icmp *)
((caddr_t)ip - offsetof(struct icmp, icmp_ip));
*arg = ntohs(icmp->icmp_nextmtu);
struct node_icmp *icmp;
%type <v.icmp> icmpspec
%type <v.icmp> icmp_list icmp_item
%type <v.icmp> icmp6_list icmp6_item
const struct icmp *ih;
ih = (const struct icmp *)payload;
const struct icmp *icmph;
icmph = (const struct icmp *)payload;
struct icmp *icp;
icp = (struct icmp *)(buf + hlen);
icp = (struct icmp *)buf;
struct icmp *icmpp;
icmpp = (struct icmp *)((u_char *)hip + hlen);
sizeof(struct icmp) + sizeof(struct packetdata));
struct icmp *icmpp = (struct icmp *)(p + lsrrlen);