/freebsd/sys/netinet/libalias/ |
H A D | alias.c | 298 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 D | print-icmp.c | 63 #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 D | ip_icmp.h | 89 #define icmp_id icmp_hun.ih_idseq.icd_id macro
|
/freebsd/contrib/netbsd-tests/net/config/ |
H A D | netconfig.c | 214 icmp.icmp_id = htons(37); in netcfg_rump_pingtest()
|
/freebsd/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 166 icmp->icmp_id = htons(37); in doping()
|
/freebsd/sbin/ping/ |
H A D | ping.c | 1018 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 D | t_bpfilter.c | 196 icmp->icmp_id = htons(37); in pingtest()
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_tx.c | 302 ic->icmp_id = htons(getpid()); in parseline()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf.c | 652 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 D | ip_state.c | 1475 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 D | ip_nat.c | 2794 ((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 D | fil.c | 1196 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 D | traceroute.c | 1421 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 D | nat64lsn.c | 433 *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 D | iplang_y.y | 1477 icmp->icmp_id = htons(arg); in set_icmpid()
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 2201 icmph->icmp_id = htons(31492); in xnb_add_mbuf_cksum_icmp()
|