Searched refs:icp (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/megatron/
H A Dupdcrc.h17 WTYPE updcrc(WTYPE icrc, unsigned char *icp, int icnt);
H A Dupdcrc.c87 updcrc(WTYPE icrc, unsigned char *icp, int icnt) argument
90 register unsigned char *cp = icp;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Dping.c96 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp);
628 struct icmphdr *icp; local
632 icp = (struct icmphdr *)outpack;
633 icp->type = ICMP_ECHO;
634 icp->code = 0;
635 icp->checksum = 0;
636 icp->un.echo.sequence = htons(ntransmitted+1);
637 icp->un.echo.id = ident; /* ID */
648 memcpy(icp+1, &tmp_tv, fake_fucked_egcs);
650 memset(icp
695 struct icmphdr *icp; local
850 pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp) argument
[all...]
H A Dclockdiff.c132 struct icmphdr *icp = (struct icmphdr *) packet; local
221 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
222 if( icp->type == ICMP_TIMESTAMPREPLY &&
223 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 &&
224 icp->un.echo.sequence <= seqno) {
225 if (acked < icp->un.echo.sequence)
226 acked = icp->un.echo.sequence;
230 sendtime = ntohl(*(__u32*)(icp+1));
240 histime = ntohl(((__u32*)(icp
311 struct icmphdr *icp = (struct icmphdr *) packet; local
[all...]
H A Drdisc.c533 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); local
540 icp->type = ICMP_ROUTER_SOLICITATION;
541 icp->code = 0;
542 icp->checksum = 0;
543 icp->un.gateway = 0; /* Reserved */
547 icp->checksum = in_cksum( (u_short *)icp, packetlen );
713 struct icmphdr *icp; local
726 icp = (struct icmphdr *)ALLIGN(buf + hlen);
728 switch (icp
[all...]
H A Dtraceroute6.c730 struct icmp6hdr *icp; local
733 icp = (struct icmp6hdr *) buf;
735 type = icp->icmp6_type;
736 code = icp->icmp6_code;
745 hip = (struct ipv6hdr *) (icp + 1);
775 hip = (struct ipv6hdr *) (icp + 1);
776 lp = (__u32 *) (icp + 1);
783 icp->icmp6_code);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dslhc_vj.h177 int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize,
179 int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize);
180 int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dslhc.c217 * icp and isize are the original packet.
219 * cpp is initially a pointer to icp. If the copy is used,
224 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, argument
247 ip = (struct iphdr *) icp;
458 memcpy(cp+deltaS,icp+hlen,isize-hlen);
476 memcpy(ocp, icp, isize);
485 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument
493 unsigned char *cp = icp;
595 len = isize - (cp - icp);
602 memmove(icp
632 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument
710 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument
716 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) argument
724 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument
[all...]
H A Dslip.c375 static void sl_encaps(struct slip *sl, unsigned char *icp, int len) argument
387 p = icp;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Dtraceroute.c720 struct icmp *icp; local
736 icp = (struct icmp *)(buf + hlen);
737 type = icp->icmp_type;
738 code = icp->icmp_code;
743 pmtu = ntohs(icp->icmp_nextmtu);
750 hip = &icp->icmp_ip;
757 icp->icmp_id == htons(ident) &&
758 icp->icmp_seq == htons(seq))
781 uint32_t *lp = (uint32_t *)&icp->icmp_ip;
786 inet_ntoa(ip->ip_dst), type, pr_type(type), icp
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/
H A Dprint-icmp6.c198 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, argument
201 return (nextproto6_cksum(ip6, (const u_int8_t *)(void *)icp, len,
844 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local
854 TCHECK(icp->icmp6_data16[1]);
855 ngroups = EXTRACT_16BITS(&icp->icmp6_data16[1]);
902 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local
913 TCHECK(icp->icmp6_data16[0]);
914 mrc = EXTRACT_16BITS(&icp->icmp6_data16[0]);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/
H A Dx25_asy.c220 static void x25_asy_encaps(struct x25_asy *sl, unsigned char *icp, int len) argument
235 p = icp;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/
H A Dsunsu.c687 unsigned int icp; local
691 icp = (up->port.iobase & 0xfe0) | 0x01f;
692 outb_p(0x80, icp);
693 (void) inb_p(icp);
H A D8250.c2152 unsigned int icp; local
2156 icp = (up->port.iobase & 0xfe0) | 0x01f;
2157 outb_p(0x80, icp);
2158 (void) inb_p(icp);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/hamradio/
H A D6pack.c165 static void sp_encaps(struct sixpack *sp, unsigned char *icp, int len) argument
167 unsigned char *msg, *p = icp;
H A Dmkiss.c435 static void ax_encaps(struct net_device *dev, unsigned char *icp, int len) argument
452 p = icp;

Completed in 275 milliseconds