Searched refs:ntohs (Results 226 - 250 of 530) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Dipxfrm.c450 fprintf(fp, "sport %u ", ntohs(sel->sport));
452 fprintf(fp, "dport %u ", ntohs(sel->dport));
458 fprintf(fp, "type %u ", ntohs(sel->sport));
460 fprintf(fp, "code %u ", ntohs(sel->dport));
627 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
628 fprintf(fp, "dport %u ", ntohs(e->encap_dport));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/uams/uams_krb4/
H A Duams_krb4.c149 tkt.length = ntohs( len );
286 len = ntohs( len );
298 len = ntohs( len );
361 tkt.length = ntohs( len );
408 len = ntohs( len );
692 clen = ntohs( clen );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/uams_krb4/
H A Duams_krb4.c149 tkt.length = ntohs( len );
286 len = ntohs( len );
298 len = ntohs( len );
361 tkt.length = ntohs( len );
408 len = ntohs( len );
692 clen = ntohs( clen );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dcipso_ipv4.c997 cat = ntohs(get_unaligned((__be16 *)&enumcat[iter]));
1065 ntohs(get_unaligned((__be16 *)&net_cat[iter])),
1099 cat_high = ntohs(get_unaligned((__be16 *)&rngcat[iter]));
1101 cat_low = ntohs(
1199 cat_high = ntohs(get_unaligned((__be16 *)&net_cat[net_iter]));
1201 cat_low = ntohs(
H A Dtcp_ipv4.c796 ntohs(tcp_hdr(skb)->dest));
1204 NIPQUAD(iph->saddr), ntohs(th->source),
1205 NIPQUAD(iph->daddr), ntohs(th->dest));
1212 NIPQUAD(iph->saddr), ntohs(th->source),
1213 NIPQUAD(iph->daddr), ntohs(th->dest));
1230 NIPQUAD(iph->saddr), ntohs(th->source),
1231 NIPQUAD(iph->daddr), ntohs(th->dest),
1391 ntohs(tcp_hdr(skb)->source));
2293 ntohs(inet_sk(sk)->sport),
2295 ntohs(ire
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dudp.c66 unsigned short hnum = ntohs(dport);
311 unsigned short num = ntohs(loc_port);
353 sk = sk_head(&udptable[ntohs(uh->dest) & (UDP_HTABLE_SIZE - 1)]);
425 ulen = ntohs(uh->len);
920 destp = ntohs(inet->dport);
921 srcp = ntohs(inet->sport);
H A Dtcp_ipv6.c893 NIP6(ip6h->saddr), ntohs(th->source),
894 NIP6(ip6h->daddr), ntohs(th->dest));
904 NIP6(ip6h->saddr), ntohs(th->source),
905 NIP6(ip6h->daddr), ntohs(th->dest));
922 NIP6(ip6h->saddr), ntohs(th->source),
923 NIP6(ip6h->daddr), ntohs(th->dest));
1218 ntohs(th->dest), inet6_iif(skb));
1722 &ipv6_hdr(skb)->daddr, ntohs(th->dest),
1803 ntohs(th->dest), inet6_iif(skb));
1967 ntohs(inet_s
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnfnetlink_queue.c783 u_int16_t queue_num = ntohs(nfmsg->res_id);
865 u_int16_t queue_num = ntohs(nfmsg->res_id);
904 ntohs(cmd->pf));
905 ret = nf_register_queue_handler(ntohs(cmd->pf), &nfqh);
909 ntohs(cmd->pf));
912 ret = nf_unregister_queue_handler(ntohs(cmd->pf));
H A Dnf_conntrack_proto_sctp.c178 ntohs(tuple->src.u.sctp.port),
179 ntohs(tuple->dst.u.sctp.port));
202 offset += (ntohs(sch->length) + 3) & ~3, count++)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/
H A Dassociola.c489 ntohs(peer->ipaddr.v4.sin_port));
538 port = ntohs(addr->v4.sin_port);
1163 ntohs(t->ipaddr.v4.sin_port));
1188 ntohs(t->ipaddr.v4.sin_port));
1354 int var_size2 = ntohs(cookie->peer_init->chunk_hdr.length);
1369 if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) &&
H A Dsm_statefuns.c118 __u16 chunk_length = ntohs(chunk->chunk_hdr->length);
310 ntohs(err_chunk->chunk_hdr->length) -
353 len = ntohs(err_chunk->chunk_hdr->length) -
479 ntohs(err_chunk->chunk_hdr->length) -
599 if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) -
935 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t);
1001 if (ntohs(hbinfo->param_hdr.length) !=
1304 ntohs(err_chunk->chunk_hdr->length) -
1358 len = ntohs(err_chunk->chunk_hdr->length) -
1851 if (!pskb_pull(chunk->skb, ntohs(chun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripngd/
H A Dripngd.c325 rte->metric, ntohs (rte->tag));
340 inet6_ntop (&rte->addr), ntohs (rte->tag), rte->prefixlen);
345 if (ntohs (rte->tag) != 0)
347 ntohs (rte->tag), inet6_ntop (&from->sin6_addr));
585 rinfo->tag = ntohs (rte->tag);
642 rinfo->tag = ntohs (rte->tag);
819 if (ntohs (from->sin6_port) != RIPNG_PORT_DEFAULT)
822 ntohs (from->sin6_port), inet6_ntop (&from->sin6_addr));
1058 inet6_ntop (&from.sin6_addr), ntohs (from.sin6_port),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/server/
H A Dtftpd.c881 tp->th_opcode = ntohs(tp->th_opcode);
1162 sap->th_opcode = ntohs((unsigned short)sap->th_opcode);
1163 sap->th_block = ntohs(sap->th_block);
1226 rdp->th_opcode = ntohs((unsigned short)rdp->th_opcode);
1227 rdp->th_block = ntohs(rdp->th_block);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_intra.c46 end = (char *) lsa->header + ntohs (lsa->header->length);
64 ntohs (ospf6_prefix->prefix_metric);
337 prefixnum = ntohs (iap_lsa->prefix_number);
351 end = (char *) lsa->header + ntohs (lsa->header->length);
488 end = (char *) (n.lsa->header) + ntohs (n.lsa->header->length);
H A Dospf6_lsdb.c334 zlog_warn ("LSDB: Can't lookup: unknown scope, type %#hx", ntohs (type));
351 switch (ntohs (new->header->type) & OSPF6_LSTYPE_SCOPE_MASK)
388 hook = ospf6_lsdb_hook[ntohs (new->header->type) &
H A Dospf6d.c812 if (OSPF6_LSA_IS_SCOPE_LINKLOCAL (ntohs (type)))
814 else if (OSPF6_LSA_IS_SCOPE_AREA (ntohs (type)))
816 else if (OSPF6_LSA_IS_SCOPE_AS (ntohs (type)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dnetpoll.c457 proto = ntohs(eth_hdr(skb)->h_proto);
475 len = ntohs(iph->tot_len);
491 ulen = ntohs(uh->len);
501 if (np->local_port && np->local_port != ntohs(uh->dest))
504 np->rx_hook(np, ntohs(uh->source),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Ddhcp.c299 if (ntohs(mess->flags) & 0x8000)
355 iov[1].iov_len = ntohs(rawpacket->ip.ip_len);
365 sendto(daemon->dhcp_raw_fd, rawpacket, ntohs(rawpacket->ip.ip_len),
H A Dnetwork.c443 port = ntohs(new->addr.in.sin_port);
448 port = ntohs(new->addr.in6.sin6_port);
452 port = ntohs(new->addr.in.sin_port);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/megatron/
H A Dhqx.c201 storedcrc = ntohs ( storedcrc );
308 header_crc = ntohs( header_crc );
332 flags = ntohs( flags );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/pap/
H A Dpap.c247 printf( "Trying %u.%d:%d ...\n", ntohs( nn.nn_sat.sat_addr.s_net ),
601 if(debug){ printf( "< READ %d\n", ntohs( netseq )), fflush( stdout );}
604 if ( rseq != ntohs( netseq )) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Ddircache.c681 ntohs(dir->d_vid),
697 ntohs(dir->d_vid),
714 ntohs(dir->d_vid),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/megatron/
H A Dhqx.c201 storedcrc = ntohs ( storedcrc );
308 header_crc = ntohs( header_crc );
332 flags = ntohs( flags );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/pap/
H A Dpap.c247 printf( "Trying %u.%d:%d ...\n", ntohs( nn.nn_sat.sat_addr.s_net ),
601 if(debug){ printf( "< READ %d\n", ntohs( netseq )), fflush( stdout );}
604 if ( rseq != ntohs( netseq )) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Ddircache.c682 ntohs(dir->d_vid),
698 ntohs(dir->d_vid),
715 ntohs(dir->d_vid),

Completed in 326 milliseconds

1234567891011>>