HomeSort by relevance Sort by last modified time
    Searched defs:icmp (Results 1 - 19 of 19) sorted by null

  /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/
ipft_tx.c 187 struct icmp icmp, *ic = &icmp; local
228 !strcasecmp(*cpp, "icmp")) {
240 tx_proto = "icmp";
  /onnv/onnv-gate/usr/src/uts/common/inet/ipf/
ip_log.c 268 struct icmp *icmp; local
270 icmp = (struct icmp *)fin->fin_dp;
273 * For ICMP, if the packet is an error packet, also
277 switch (icmp->icmp_type)
284 hlen += MIN(sizeof(struct icmp) + 8,
288 hlen += MIN(sizeof(struct icmp),
295 struct icmp6_hdr *icmp; local
297 icmp = (struct icmp6_hdr *)fin->fin_dp
    [all...]
ip_state.c 192 /* fill icmp reply type table */
200 /* fill icmp reply type table */
241 MUTEX_INIT(&ifs->ifs_ips_icmptq.ifq_lock, "ipftq icmp tab");
2347 icmphdr_t *icmp; local
    [all...]
ip_fil_solaris.c 1145 struct icmp *icmp; local
1207 sz += offsetof(struct icmp, icmp_ip);
1216 icmp = (struct icmp *)(m->b_rptr + hlen);
1217 icmp->icmp_type = type & 0xff;
1218 icmp->icmp_code = code & 0xff;
1222 icmp->icmp_nextmtu = net_getmtu(ifs->ifs_ipf_ipv4, phy,0 );
1248 sz -= offsetof(struct icmp, icmp_ip);
1249 bcopy((char *)mb->b_rptr, (char *)&icmp->icmp_ip, sz)
2359 struct icmp *icmp; local
    [all...]
ip_nat.c 263 MUTEX_INIT(&ifs->ifs_nat_icmptq.ifq_lock, "nat icmp ipftq tab");
560 /* ICMP error message. Such a message, contains in its body the IP header */
564 /* kernel the data section of the ICMP error is just data, and no special */
2997 icmphdr_t *icmp, *orgicmp; local
3874 icmphdr_t *icmp = NULL; local
4053 icmphdr_t *icmp; local
4201 icmphdr_t *icmp; local
4381 icmphdr_t *icmp; local
4528 icmphdr_t *icmp; local
    [all...]
fil.c 929 /* Do a sanity check on the packet for ICMP (v4). In nearly all cases, */
931 /* The expected minimum size of an ICMP packet is very much dependent on */
934 /* XXX - other ICMP sanity checks? */
939 int minicmpsz = sizeof(struct icmp);
940 icmphdr_t *icmp; local
955 * This is a right place to set icmp pointer, since the memory
957 * rely on fact icmp variable always points to ICMP header.
959 icmp = fin->fin_dp;
960 fin->fin_data[0] = *(u_short *)icmp;
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
ndp.c 95 struct icmp6_hdr *icmp; local
139 icmp = (struct icmp6_hdr *)in_packet;
142 logmsg(LOG_INFO, "Too short ICMP packet: %d bytes "
164 switch (icmp->icmp6_type) {
179 * and the ICMP checksum.
187 if (icmp->icmp6_code != 0) {
189 icmp->icmp6_code, msgbuf, pi->pi_name);
199 rs = (struct nd_router_solicit *)icmp;
233 * and the ICMP checksum.
247 if (icmp->icmp6_code != 0)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
rdisc.c 54 /* router advertisement ICMP packet */
68 /* router solicitation ICMP packet */
77 struct icmp icmp; member in union:ad_u
107 /* dump an ICMP Router Discovery Advertisement Message */
125 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
1002 /* Send a router discovery advertisement or solicitation ICMP packet. */
1216 * check the IP header of a possible Router Discovery ICMP packet
1230 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) {
1232 if (p->icmp.icmp_code == ICMP_ROUTERADVERT_NOCOMMON
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/netinet/
ip_icmp.h 55 * Structure of an icmp header.
57 struct icmp { struct
  /onnv/onnv-gate/usr/src/cmd/ipf/tools/
ipmon.c 861 (void) sprintf(t, "%s PR icmp %d",
980 struct icmp *ic;
981 struct icmp *icmp; local
1156 ic = (struct icmp *)((char *)ip + hl);
1163 ic = (struct icmp *)((char *)ip + hl);
1166 (void) sprintf(t, "%s PR icmp len %hu %hu icmp %s",
1177 * XXX - try to guess endian of ip_len in ICMP
1202 icmp = (icmphdr_t *)((char *)ipc + hl)
    [all...]
ipf_y.y 490 ip: srcdst flags icmp
1152 icmp: | itype icode label
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/ip/
ipclassifier.c 60 * conn_recvicmp is used to pass up ICMP errors to the ULP.
225 * IPCL_RAWIPCONN indicates a RAWIP/ICMP conn_t.
2088 icmp_t *icmp = (icmp_t *)&itc[1]; local
2115 icmp_t *icmp = (icmp_t *)&itc[1]; local
    [all...]
tnet.c 58 /* tunable for strict error-reply behavior (TCP RST and ICMP Unreachable) */
759 * - IPv4 ICMP Router Discovery
768 const struct icmp *icmp = (const struct icmp *) local
771 if ((uchar_t *)icmp + ICMP_MINLEN > mp->b_wptr)
773 if (icmp->icmp_type == ICMP_ROUTERADVERT ||
774 icmp->icmp_type == ICMP_ROUTERSOLICIT)
    [all...]
icmp.c 92 * ICMP is always a device driver. For compatibility with mibopen() code
93 * it is possible to I_PUSH "icmp", but that results in pushing a passthrough
99 static void icmp_bind_proto(icmp_t *icmp);
172 5707, "icmp", 1, INFPSZ, 512, 128
176 * Entry points for ICMP as a device.
177 * We have separate open functions for the /dev/icmp and /dev/icmp6 devices.
191 /* ICMP entry point during fallback */
196 /* For AF_INET aka /dev/icmp */
212 IP_MAXPACKET, /* TSDU_size. icmp allows maximum size messages. */
213 T_INVALID, /* ETSDU_size. icmp does not support expedited data. *
271 icmp_t *icmp; local
379 icmp_t *icmp = connp->conn_icmp; local
674 icmp_t *icmp; local
945 icmp_t *icmp = connp->conn_icmp; local
971 icmp_t *icmp = connp->conn_icmp; local
1082 icmp_t *icmp = connp->conn_icmp; local
1218 icmp_t *icmp = connp->conn_icmp; local
1385 icmp_t *icmp = Q_TO_ICMP(q); local
1476 icmp_t *icmp = Q_TO_ICMP(q); local
1502 icmp_t *icmp = Q_TO_ICMP(q); local
1605 icmp_t *icmp; local
1749 icmp_t *icmp = Q_TO_ICMP(q); local
1796 icmp_t *icmp = connp->conn_icmp; local
1913 icmp_t *icmp = connp->conn_icmp; local
2111 icmp_t *icmp = connp->conn_icmp; local
2509 icmp_t *icmp = connp->conn_icmp; local
2559 icmp_t *icmp; local
2932 icmp_t *icmp = connp->conn_icmp; local
3009 icmp_t *icmp = connp->conn_icmp; local
3312 icmp_t *icmp = connp->conn_icmp; local
3598 icmp_t *icmp = connp->conn_icmp; local
3746 icmp_t *icmp = connp->conn_icmp; local
3900 icmp_t *icmp = connp->conn_icmp; local
4045 icmp_t *icmp = connp->conn_icmp; local
4297 icmp_t *icmp = connp->conn_icmp; local
4626 icmp_t *icmp = connp->conn_icmp; local
4791 icmp_t *icmp = connp->conn_icmp; local
5107 icmp_t *icmp = connp->conn_icmp; local
5173 icmp_t *icmp; local
5334 icmp_t *icmp = connp->conn_icmp; local
5481 icmp_t *icmp = connp->conn_icmp; local
5550 icmp_t *icmp = connp->conn_icmp; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
net.c 699 icmp_t icmp; local
708 if (mdb_vread(&icmp, sizeof (icmp_t),
715 connp->conn_icmp = &icmp;
716 icmp.icmp_connp = connp;
723 if (icmp.icmp_state == TS_UNBND)
725 else if (icmp.icmp_state == TS_IDLE)
727 else if (icmp.icmp_state == TS_DATA_XFER)
1140 (strcmp("icmp", optP) != 0))
1213 if ((optP == NULL) || (strcmp("icmp", optP) == 0)) {
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
traceroute.c 70 #define MAX_SEQ 65535 /* max sequence value for ICMP */
88 char icmp[STR_LEN]; /* "icmp" or "ipv6-icmp" */ member in struct:pr_set
127 static int rcvsock4; /* receive (icmp) socket file descriptor */
128 static int sndsock4; /* send (udp/icmp) socket file descriptor */
165 boolean_t useicmp = _B_FALSE; /* use icmp echo instead of udp packets */
793 minpacket += pr->icmp_minlen; /* minimum ICMP header size */
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/iptun/
iptun.c 2220 icmph_t icmp; local
2233 icmph_t icmp; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/man/src/
man.c 298 static int icmp(wchar_t *, wchar_t *);
1289 if (icmp(word_wchar, ws) == 0) {
1320 icmp(wchar_t *ws, wchar_t *wt) function
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
netstat.c 201 static void print_icmp_stats(mib2_icmp_t *icmp);
466 } else if (strcmp(optarg, "icmp") == 0) {
914 if (ioctl(sd, I_PUSH, "icmp") == -1) {
915 perror("icmp I_PUSH");
1939 mib2_icmp_t *icmp = local
    [all...]

Completed in 5160 milliseconds