/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/ |
H A D | common.c | 48 UINT16_t len = ntohs(packet->length); 103 UINT16_t len = ntohs(packet->length); 281 len = (int) ntohs(packet->length); 449 ntohs(conn->cookie.length) + TAG_HDR_SIZE); 450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE); 451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 452 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 457 ntohs(conn->relayId.length) + TAG_HDR_SIZE); 458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); 459 cursor += ntohs(con [all...] |
H A D | debug.c | 88 int len = ntohs(packet->length); 123 (int) ntohs(packet->session), 142 dumpHex(fp, packet->payload, ntohs(packet->length));
|
H A D | discovery.c | 348 if (ntohs(packet.length) + HDR_SIZE > len) { 350 (unsigned int) ntohs(packet.length)); 461 ntohs(conn->cookie.length) + TAG_HDR_SIZE); 462 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE); 463 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 464 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 469 ntohs(conn->relayId.length) + TAG_HDR_SIZE); 470 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); 471 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; 472 plen += ntohs(con [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/ |
H A D | hostname.c | 58 # include <netinet/in.h> /* declares ntohs(), defines struct sockaddr_in */ 292 ntohs ((addr).s6_addr16[0]), \ 293 ntohs ((addr).s6_addr16[1]), \ 294 ntohs ((addr).s6_addr16[2]), \ 295 ntohs ((addr).s6_addr16[3]), \ 296 ntohs ((addr).s6_addr16[4]), \ 297 ntohs ((addr).s6_addr16[5]), \ 298 ntohs ((addr).s6_addr16[6]), \ 299 ntohs ((addr).s6_addr16[7]))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/ |
H A D | misc.h | 52 #ifdef ntohs 56 #define ntohs(a) SWAPS(a) macro
|
H A D | avp.c | 141 c->msgtype = ntohs (raw[3]); 464 result = ntohs (raw[3]); 465 error = ntohs (raw[4]); 543 ver = ntohs (raw[3]); 591 caps = ntohs (raw[4]); 637 caps = ntohs (raw[4]); 692 ver = ntohs (raw[3]); 739 b = ntohs (raw[4]); 786 b = ntohs (raw[4]); 1212 t->qtid = ntohs (ra [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/byteorder/ |
H A D | generic.h | 50 * ntohs(__u16 x) 135 #undef ntohs macro 147 #define ntohs(x) ___ntohs(x) macro
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/ |
H A D | addr-util.c | 57 return ntohs(((const struct sockaddr_in*) sa)->sin_port); 59 return ntohs(((const struct sockaddr_in6*) sa)->sin6_port);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/appletalk/ |
H A D | atalk_proc.c | 70 iface->dev->name, ntohs(iface->address.s_net), 71 iface->address.s_node, ntohs(iface->nets.nr_firstnet), 72 ntohs(iface->nets.nr_lastnet), iface->status); 129 ntohs(rt->gateway.s_net), rt->gateway.s_node, 135 ntohs(rt->target.s_net), rt->target.s_node, 136 ntohs(rt->gateway.s_net), rt->gateway.s_node, 198 s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, 199 ntohs(at->dest_net), at->dest_node, at->dest_port,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/ |
H A D | ip_vs_ftp.c | 158 NIPQUAD(from), ntohs(port), NIPQUAD(cp->caddr), 0); 185 (ntohs(port)>>8)&255, ntohs(port)&255); 271 NIPQUAD(to), ntohs(port)); 281 NIPQUAD(to), ntohs(port), NIPQUAD(cp->vaddr), 0); 285 cp->vaddr, htons(ntohs(cp->vport)-1)); 289 cp->vaddr, htons(ntohs(cp->vport)-1), 290 cp->daddr, htons(ntohs(cp->dport)-1),
|
H A D | ip_vs_conn.c | 228 NIPQUAD(s_addr), ntohs(s_port), 229 NIPQUAD(d_addr), ntohs(d_port), 263 NIPQUAD(s_addr), ntohs(s_port), 264 NIPQUAD(d_addr), ntohs(d_port), 304 NIPQUAD(s_addr), ntohs(s_port), 305 NIPQUAD(d_addr), ntohs(d_port), 402 NIPQUAD(cp->caddr), ntohs(cp->cport), 403 NIPQUAD(cp->vaddr), ntohs(cp->vport), 404 NIPQUAD(cp->daddr), ntohs(cp->dport), 442 NIPQUAD(cp->caddr), ntohs(c [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/ |
H A D | xt_length.c | 34 u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); 50 const u_int16_t pktlen = (ntohs(ipv6_hdr(skb)->payload_len) +
|
H A D | nf_conntrack_pptp.c | 248 msg = ntohs(ctlh->messageType); 285 ntohs(cid), ntohs(pcid)); 301 DEBUGP("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); 320 DEBUGP("%s, PCID=%X\n", pptp_msg_name[msg], ntohs(pcid)); 330 DEBUGP("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); 356 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, 357 ntohs(info->pns_call_id), ntohs(inf [all...] |
H A D | xt_sctp.c | 74 offset += (ntohs(sch->length) + 3) & ~3; 146 duprintf("spt: %d\tdpt: %d\n", ntohs(sh->source), ntohs(sh->dest)); 148 return SCCHECK(((ntohs(sh->source) >= info->spts[0]) 149 && (ntohs(sh->source) <= info->spts[1])), 151 && SCCHECK(((ntohs(sh->dest) >= info->dpts[0]) 152 && (ntohs(sh->dest) <= info->dpts[1])),
|
H A D | xt_dccp.c | 116 return DCCHECK(((ntohs(dh->dccph_sport) >= info->spts[0]) 117 && (ntohs(dh->dccph_sport) <= info->spts[1])), 119 && DCCHECK(((ntohs(dh->dccph_dport) >= info->dpts[0]) 120 && (ntohs(dh->dccph_dport) <= info->dpts[1])),
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/ |
H A D | vjcompress.c | 153 u_short tmp = ntohs(f) + ((cp[1] << 8) | cp[2]); \ 157 u_short tmp = ntohs(f) + (u_int32_t)*cp++; \ 297 deltaS = ntohs(th->th_urp); 307 if ((deltaS = (u_short)(ntohs(th->th_win) - ntohs(oth->th_win))) > 0) { 338 ntohs(cs->cs_ip.ip_len) == hlen) 352 if (deltaS == deltaA && deltaS == ntohs(cs->cs_ip.ip_len) - hlen) { 360 if (deltaS == ntohs(cs->cs_ip.ip_len) - hlen) { 368 deltaS = ntohs(ip->ip_id) - ntohs(c [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/atalkd/ |
H A D | config.c | 265 fprintf( newconf, " -net %d", ntohs( iface->i_rt->rt_firstnet )); 267 fprintf( newconf, "-%d", ntohs( iface->i_rt->rt_lastnet )); 270 ntohs( iface->i_addr.sat_addr.s_net ), 599 ntohs( iface->i_caddr.sat_addr.s_net ) != net ) { 601 net, ntohs( iface->i_caddr.sat_addr.s_net )); 616 ( ntohs( iface->i_rt->rt_firstnet ) > 617 ntohs( iface->i_caddr.sat_addr.s_net ) || 618 ntohs( iface->i_rt->rt_lastnet ) < 619 ntohs( iface->i_caddr.sat_addr.s_net ))) { 621 ntohs( ifac [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/atalkd/ |
H A D | config.c | 265 fprintf( newconf, " -net %d", ntohs( iface->i_rt->rt_firstnet )); 267 fprintf( newconf, "-%d", ntohs( iface->i_rt->rt_lastnet )); 270 ntohs( iface->i_addr.sat_addr.s_net ), 599 ntohs( iface->i_caddr.sat_addr.s_net ) != net ) { 601 net, ntohs( iface->i_caddr.sat_addr.s_net )); 616 ( ntohs( iface->i_rt->rt_firstnet ) > 617 ntohs( iface->i_caddr.sat_addr.s_net ) || 618 ntohs( iface->i_rt->rt_lastnet ) < 619 ntohs( iface->i_caddr.sat_addr.s_net ))) { 621 ntohs( ifac [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/ |
H A D | ip6t_LOG.c | 68 ntohs(ih->payload_len) + sizeof(struct ipv6hdr), 102 printk("%u ", ntohs(fh->frag_off) & 0xFFF8); 110 if (ntohs(fh->frag_off) & 0xFFF8) 218 ntohs(th->source), ntohs(th->dest)); 224 printk("WINDOW=%u ", ntohs(th->window)); 245 printk("URGP=%u ", ntohs(th->urg_ptr)); 292 ntohs(uh->source), ntohs(uh->dest), 293 ntohs(u [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/ |
H A D | libipt_MASQUERADE.c | 112 printf("%hu", ntohs(r->min.tcp.port)); 114 printf("-%hu", ntohs(r->max.tcp.port)); 128 printf(" --to-ports %hu", ntohs(r->min.tcp.port)); 130 printf("-%hu", ntohs(r->max.tcp.port));
|
H A D | libipt_REDIRECT.c | 115 printf("%hu", ntohs(r->min.tcp.port)); 117 printf("-%hu", ntohs(r->max.tcp.port)); 130 printf("%hu", ntohs(r->min.tcp.port)); 132 printf("-%hu", ntohs(r->max.tcp.port));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/asp/ |
H A D | asp_getreq.c | 57 seq = ntohs( seq );
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/ |
H A D | checksum.h | 82 : "d" (daddr), "d" (saddr), "d" ((ntohs(len)<<16)+proto*256), "d" (1), "0"(sum));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/asp/ |
H A D | asp_getreq.c | 57 seq = ntohs( seq );
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | tcp_probe.c | 95 if ((port == 0 || ntohs(inet->dport) == port || ntohs(inet->sport) == port) 98 NIPQUAD(inet->saddr), ntohs(inet->sport), 99 NIPQUAD(inet->daddr), ntohs(inet->dport),
|