Home
last modified time | relevance | path

Searched refs:icmp (Results 1 – 25 of 56) sorted by relevance

123

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c65 interpret_icmp(int flags, struct icmp *icmp, int iplen, int ilen) in interpret_icmp() argument
83 switch (icmp->icmp_type) { in interpret_icmp()
87 ntohs(icmp->icmp_id), ntohs(icmp->icmp_seq)); in interpret_icmp()
92 switch (icmp->icmp_code) { in interpret_icmp()
97 &icmp->icmp_ip.ip_dst)); in interpret_icmp()
107 &icmp->icmp_ip.ip_dst)); in interpret_icmp()
116 icmp->icmp_ip.ip_p); in interpret_icmp()
124 orig_uhdr = (struct udphdr *)((uchar_t *)icmp + in interpret_icmp()
125 ICMP_MINLEN + icmp->icmp_ip.ip_hl * 4); in interpret_icmp()
126 switch (icmp->icmp_ip.ip_p) { in interpret_icmp()
[all …]
/titanic_41/usr/src/cmd/ipf/examples/
H A Dexample.73 block in proto icmp all
7 pass in on le1 proto icmp from any to any icmp-type echo
8 pass in on le1 proto icmp from any to any icmp-type echorep
12 block in on le1 proto icmp from any to any icmp-type unreach code 3
H A Dexample.sr22 block in log on le0 proto icmp from any to any icmp-type unreach
59 block in on le0 proto icmp from any to 10.1.3.0/24
60 block in on le0 proto icmp from any to 10.1.1.0/24
61 block in on le0 proto icmp from any to 10.1.2.0/24
H A Dexample.520 block in proto icmp from any to any icmp-type unreach
H A DBASIC_2.FW65 pass in log quick proto icmp all keep state group 200
72 block return-icmp(net-unr) in proto udp all group 100
H A Dexample.44 block in proto icmp from any to any
H A Dexample.810 block return-icmp in proto udp from any to any
/titanic_41/usr/src/uts/common/inet/ip/
H A Dicmp.c99 static void icmp_bind_proto(icmp_t *icmp);
316 icmp_t *icmp; in icmp_tpi_bind() local
335 icmp = connp->conn_icmp; in icmp_tpi_bind()
344 if (icmp->icmp_state != TS_UNBND) { in icmp_tpi_bind()
346 "icmp_bind: bad state, %u", icmp->icmp_state); in icmp_tpi_bind()
424 icmp_t *icmp = connp->conn_icmp; in rawip_do_bind() local
489 if (icmp->icmp_state != TS_UNBND) { in rawip_do_bind()
542 icmp->icmp_state = TS_IDLE; in rawip_do_bind()
578 icmp->icmp_state = TS_UNBND; in rawip_do_bind()
593 icmp_bind_proto(icmp_t *icmp) in icmp_bind_proto() argument
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c88 struct icmp *outicmp; in set_buffers()
127 outicmp = (struct icmp *)outp; in set_buffers()
201 struct icmp *outicmp; in send_probe()
212 outicmp = (struct icmp *)outp; in send_probe()
334 struct icmp *icp; in check_reply()
351 icp = (struct icmp *)(buf + hlen); in check_reply()
364 struct icmp *hicmp; in check_reply()
377 hicmp = (struct icmp *)((uchar_t *)hip + hlen); in check_reply()
H A Dtraceroute_aux6.c80 struct icmp *outicmp; in set_buffers6()
100 outicmp = (struct icmp *)outp; in set_buffers6()
305 struct icmp *outicmp; in send_probe6()
328 outicmp = (struct icmp *)outp; in send_probe6()
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_log.c270 struct icmp *icmp; local
272 icmp = (struct icmp *)fin->fin_dp;
279 switch (icmp->icmp_type)
286 hlen += MIN(sizeof(struct icmp) + 8,
290 hlen += MIN(sizeof(struct icmp),
297 struct icmp6_hdr *icmp; local
299 icmp = (struct icmp6_hdr *)fin->fin_dp;
306 if (icmp->icmp6_type < 128) {
H A Dip_fil_solaris.c1277 struct icmp *icmp; local
1339 sz += offsetof(struct icmp, icmp_ip);
1348 icmp = (struct icmp *)(m->b_rptr + hlen);
1349 icmp->icmp_type = type & 0xff;
1350 icmp->icmp_code = code & 0xff;
1354 icmp->icmp_nextmtu = net_getmtu(ifs->ifs_ipf_ipv4, phy,0 );
1380 sz -= offsetof(struct icmp, icmp_ip);
1381 bcopy((char *)mb->b_rptr, (char *)&icmp->icmp_ip, sz);
1382 icmp->icmp_cksum = csz - sizeof(ip6_t);
1404 bcopy((char *)fin->fin_ip, (char *)&icmp->icmp_ip,
[all …]
/titanic_41/usr/src/man/man7p/
H A DMakefile23 icmp.7p \
56 ICMP.7p := LINKSRC = icmp.7p
/titanic_41/usr/src/stand/lib/inet/
H A Dicmp4.c62 struct icmp *icmphp; in icmp4()
73 icmphp = (struct icmp *)(igp->igm_mp->b_rptr + iphlen); in icmp4()
/titanic_41/usr/src/cmd/cmd-inet/etc/sock2path.d/
H A Dsystem%2Fkernel41 2 4 0 icmp
42 26 4 0 icmp
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c374 check_icmp_unreach_v4(struct icmp *icmph, probe_param_t *param) in check_icmp_unreach_v4()
405 check_icmp_echo_v4(struct icmp *icmph, probe_param_t *param) in check_icmp_echo_v4()
433 struct icmp *icmph; in check_icmp_v4()
443 icmph = (struct icmp *)((char *)iph + (iph->ip_hl << 2)); in check_icmp_v4()
767 struct icmp *icmph; in ping_query()
797 icmph = (struct icmp *)buf; in ping_query()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dipf6.conf.dfl39 pass in quick proto ipv6-icmp from any to any
40 pass out quick proto ipv6-icmp from any to any
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dipft_tx.c187 struct icmp icmp, *ic = &icmp; local
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c77 struct icmp icmp; member
125 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { in trace_rdisc()
1230 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { in ck_icmp()
1232 if (p->icmp.icmp_code == ICMP_ROUTERADVERT_NOCOMMON) in ck_icmp()
1234 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) { in ck_icmp()
1240 if (p->icmp.icmp_code != ICMP_ROUTERADVERT_COMMON) { in ck_icmp()
1242 type, p->icmp.icmp_code, naddr_ntoa(from), naddr_ntoa(to)); in ck_icmp()
1334 switch (p->icmp.icmp_type) { in read_d()
/titanic_41/usr/src/pkg/manifests/
H A Dsystem-kernel.man7p.inc19 file path=usr/share/man/man7p/icmp.7p
38 link path=usr/share/man/man7p/ICMP.7p target=icmp.7p
/titanic_41/usr/src/cmd/cmd-inet/etc/
H A Dprotocols30 icmp 1 ICMP # internet control message protocol
66 ipv6-icmp 58 IPv6-ICMP # IPv6 internet control message protocol
/titanic_41/usr/src/uts/intel/icmp6/
H A DMakefile62 LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
/titanic_41/usr/src/uts/sparc/icmp6/
H A DMakefile67 LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c99 struct icmp6_hdr *icmp; in in_data() local
143 icmp = (struct icmp6_hdr *)in_packet; in in_data()
168 switch (icmp->icmp6_type) { in in_data()
191 if (icmp->icmp6_code != 0) { in in_data()
193 icmp->icmp6_code, msgbuf, pi->pi_name); in in_data()
203 rs = (struct nd_router_solicit *)icmp; in in_data()
251 if (icmp->icmp6_code != 0) { in in_data()
253 icmp->icmp6_code, msgbuf, pi->pi_name); in in_data()
263 ra = (struct nd_router_advert *)icmp; in in_data()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c197 static void print_icmp_stats(mib2_icmp_t *icmp);
1936 mib2_icmp_t *icmp = in stat_report() local
1943 print_icmp_stats(icmp); in stat_report()
2119 print_icmp_stats(mib2_icmp_t *icmp) in print_icmp_stats() argument
2122 prval("icmpInMsgs", icmp->icmpInMsgs); in print_icmp_stats()
2123 prval("icmpInErrors", icmp->icmpInErrors); in print_icmp_stats()
2124 prval("icmpInCksumErrs", icmp->icmpInCksumErrs); in print_icmp_stats()
2125 prval("icmpInUnknowns", icmp->icmpInUnknowns); in print_icmp_stats()
2126 prval("icmpInDestUnreachs", icmp->icmpInDestUnreachs); in print_icmp_stats()
2127 prval("icmpInTimeExcds", icmp->icmpInTimeExcds); in print_icmp_stats()
[all …]

123