Home
last modified time | relevance | path

Searched refs:icmp_id (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/netinet/libalias/
H A Dalias.c298 lnk = FindIcmpIn(la, pip->ip_src, pip->ip_dst, ic->icmp_id, 1); in IcmpAliasIn1()
306 accumulate = ic->icmp_id; in IcmpAliasIn1()
311 ic->icmp_id = original_id; in IcmpAliasIn1()
359 lnk = FindIcmpIn(la, ip->ip_dst, ip->ip_src, ic2->icmp_id, 0); in IcmpAliasIn2()
406 accumulate += ic2->icmp_id; in IcmpAliasIn2()
422 ic2->icmp_id = original_id; in IcmpAliasIn2()
487 lnk = FindIcmpOut(la, pip->ip_src, pip->ip_dst, ic->icmp_id, create); in IcmpAliasOut1()
495 accumulate = ic->icmp_id; in IcmpAliasOut1()
500 ic->icmp_id = alias_id; in IcmpAliasOut1()
548 lnk = FindIcmpOut(la, ip->ip_dst, ip->ip_src, ic2->icmp_id, 0); in IcmpAliasOut2()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-icmp.c63 #define icmp_id icmp_hun.ih_idseq.icd_id macro
347 GET_BE_U_2(dp->icmp_id), in icmp_print()
627 GET_BE_U_2(dp->icmp_id), in icmp_print()
635 GET_BE_U_2(dp->icmp_id), in icmp_print()
/freebsd/sys/netinet/
H A Dip_icmp.h89 #define icmp_id icmp_hun.ih_idseq.icd_id macro
/freebsd/contrib/netbsd-tests/net/config/
H A Dnetconfig.c214 icmp.icmp_id = htons(37); in netcfg_rump_pingtest()
/freebsd/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c166 icmp->icmp_id = htons(37); in doping()
/freebsd/sbin/ping/
H A Dping.c1018 icp.icmp_id = ident; /* ID */ in pinger()
1148 if (icp.icmp_id != ident) in pr_pack()
1321 (oicmp.icmp_id == ident))) { in pr_pack()
/freebsd/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c196 icmp->icmp_id = htons(37); in pingtest()
/freebsd/sbin/ipf/libipf/
H A Dipft_tx.c302 ic->icmp_id = htons(getpid()); in parseline()
/freebsd/sys/netpfil/pf/
H A Dpf.c652 if (nk->port[pd->sidx] != ih->icmp_id) { in pf_packet_rework_nat()
654 ih->icmp_cksum, ih->icmp_id, in pf_packet_rework_nat()
656 ih->icmp_id = nk->port[pd->sidx]; in pf_packet_rework_nat()
657 pd->sport = &ih->icmp_id; in pf_packet_rework_nat()
2063 *virtual_id = pd->hdr.icmp.icmp_id; in pf_icmp_mapping()
2070 *virtual_id = pd->hdr.icmp.icmp_id; in pf_icmp_mapping()
2077 *virtual_id = pd->hdr.icmp.icmp_id; in pf_icmp_mapping()
2084 *virtual_id = pd->hdr.icmp.icmp_id; in pf_icmp_mapping()
5064 nk->port[pd->sidx] != pd->hdr.icmp.icmp_id) { in pf_test_rule()
5068 pd->hdr.icmp.icmp_id = nk->port[pd->sidx]; in pf_test_rule()
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_state.c1475 hv += (is->is_icmp.ici_id = ic->icmp_id); in ipf_state_add()
1499 hv += (is->is_icmp.ici_id = ic->icmp_id); in ipf_state_add()
2759 hv += icmp->icmp_id; in ipf_checkicmpmatchingstate()
3015 hv += ic->icmp_id; in ipf_state_lookup()
3081 hv += ic->icmp_id; in ipf_state_lookup()
3092 (ic->icmp_id == is->is_icmp.ici_id) && in ipf_state_lookup()
H A Dip_nat.c2794 ((icmphdr_t *)fin->fin_dp)->icmp_id = port; in ipf_nat_newmap()
2995 ((icmphdr_t *)fin->fin_dp)->icmp_id = nport; in ipf_nat_newrdr()
3622 fin->fin_data[1] = orgicmp->icmp_id; in ipf_nat_icmperrorlookup()
3935 if (orgicmp->icmp_id != nat->nat_osport) { in ipf_nat_icmperror()
3949 sum1 = ntohs(orgicmp->icmp_id); in ipf_nat_icmperror()
3952 orgicmp->icmp_id = nat->nat_oicmpid; in ipf_nat_icmperror()
5181 icmp->icmp_id = nat->nat_nicmpid; in ipf_nat_out()
5294 dport = icmp->icmp_id; in ipf_nat_checkin()
5653 icmp->icmp_id = nat->nat_nicmpid; in ipf_nat_in()
H A Dfil.c1196 fin->fin_data[1] = icmp->icmp_id; in ipf_pr_icmp()
4284 if (icmp->icmp_id == ic->ici_id) in ipf_matchicmpqueryreply()
4294 if (icmp->icmp_id == ic->ici_id) in ipf_matchicmpqueryreply()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c1421 icmpheader->icmp_id = htons(ident); in icmp_prep()
1434 return (icmpheader->icmp_id == htons(ident) in icmp_check()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c433 *port = ntohs(icmp->icmp_id); in inspect_icmp_mbuf()
474 *port = ntohs(icmp->icmp_id); in inspect_icmp_mbuf()
/freebsd/sbin/ipf/iplang/
H A Diplang_y.y1477 icmp->icmp_id = htons(arg); in set_icmpid()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2201 icmph->icmp_id = htons(31492); in xnb_add_mbuf_cksum_icmp()