Searched refs:ntohs (Results 51 - 75 of 530) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_MASQUERADE.c134 printf("%hu", ntohs(r->min.tcp.port));
136 printf("-%hu", ntohs(r->max.tcp.port));
153 printf("--to-ports %hu", ntohs(r->min.tcp.port));
155 printf("-%hu", ntohs(r->max.tcp.port));
H A Dlibipt_REDIRECT.c143 printf("%hu", ntohs(r->min.tcp.port));
145 printf("-%hu", ntohs(r->max.tcp.port));
162 printf("%hu", ntohs(r->min.tcp.port));
164 printf("-%hu", ntohs(r->max.tcp.port));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospf_te.c334 if (ntohs (lp->link_type.header.type) != 0)
338 if (ntohs (lp->link_id.header.type) != 0)
343 && ntohs (tlvh->type) != 0)
348 && ntohs (tlvh->type) != 0)
352 if (ntohs (lp->te_metric.header.type) != 0)
356 if (ntohs (lp->max_bw.header.type) != 0)
360 if (ntohs (lp->max_rsv_bw.header.type) != 0)
364 if (ntohs (lp->unrsv_bw.header.type) != 0)
368 if (ntohs (lp->rsc_clsclr.header.type) != 0)
537 if (ntohs (OspfMplsT
[all...]
H A Dospf_opaque.h95 ((ntohs((lsahdr)->length) >= sizeof (struct lsa_header)) && \
96 ((ntohs((lsahdr)->length) % sizeof (u_int32_t)) == 0))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dkernel.h264 ntohs((addr).s6_addr16[0]), \
265 ntohs((addr).s6_addr16[1]), \
266 ntohs((addr).s6_addr16[2]), \
267 ntohs((addr).s6_addr16[3]), \
268 ntohs((addr).s6_addr16[4]), \
269 ntohs((addr).s6_addr16[5]), \
270 ntohs((addr).s6_addr16[6]), \
271 ntohs((addr).s6_addr16[7])
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_TPROXY.c56 ntohs(info->lport), (unsigned int)info->mark_value,
69 ntohs(info->lport), (unsigned int)info->mark_value,
82 ntohs(info->lport), (unsigned int)info->mark_value,
90 printf(" --on-port %u", ntohs(info->lport));
103 printf(" --on-port %u", ntohs(info->lport));
115 printf(" --on-port %u", ntohs(info->lport));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/
H A Debt_log.c78 printk("proto = 0x%04x", ntohs(eth_hdr(skb)->h_proto));
110 printk(" SPT=%u DPT=%u", ntohs(pptr->src),
111 ntohs(pptr->dst));
127 ntohs(ah->ar_hrd), ntohs(ah->ar_pro),
128 ntohs(ah->ar_op));
H A Debt_ip.c55 if (ntohs(ih->frag_off) & IP_OFFSET)
62 u32 dst = ntohs(pptr->dst);
69 u32 src = ntohs(pptr->src);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Dar-proc.c84 ntohs(trans->local->srx.transport.sin.sin_port));
88 ntohs(trans->peer->srx.transport.sin.sin_port));
95 ntohs(call->conn->service_id),
185 ntohs(trans->local->srx.transport.sin.sin_port));
189 ntohs(trans->peer->srx.transport.sin.sin_port));
196 ntohs(conn->service_id),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dslhc.c248 if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) {
359 deltaS = ntohs(th->urg_ptr);
369 if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
395 ntohs(cs->cs_ip.tot_len) == hlen)
407 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
414 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
421 deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
431 deltaA = ntohs(t
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/atalkd/
H A Dmain.c153 ntohs(iface->i_addr.sat_addr.s_net),
179 ntohs( dest_addr->sat_addr.s_net ),
181 ntohs( iface->i_rt->rt_firstnet ),
282 ntohs( iface->i_addr.sat_addr.s_net ),
306 ntohs( iface->i_addr.sat_addr.s_net ), iface->i_addr.sat_addr.s_node,
338 LOG(log_info, logtype_atalkd, "as_timer gateway %u.%u down", ntohs( gate->g_sat.sat_addr.s_net ),
485 LOG(log_info, logtype_atalkd, "as_timer can't get zone for %u", ntohs( rtmp->rt_firstnet ));
683 zt->zt_len, zt->zt_name, ntohs( rtmp->rt_firstnet ),
684 ntohs( rtmp->rt_lastnet ));
694 ntohs( rtm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/atalkd/
H A Dmain.c153 ntohs(iface->i_addr.sat_addr.s_net),
179 ntohs( dest_addr->sat_addr.s_net ),
181 ntohs( iface->i_rt->rt_firstnet ),
282 ntohs( iface->i_addr.sat_addr.s_net ),
306 ntohs( iface->i_addr.sat_addr.s_net ), iface->i_addr.sat_addr.s_node,
338 LOG(log_info, logtype_atalkd, "as_timer gateway %u.%u down", ntohs( gate->g_sat.sat_addr.s_net ),
485 LOG(log_info, logtype_atalkd, "as_timer can't get zone for %u", ntohs( rtmp->rt_firstnet ));
683 zt->zt_len, zt->zt_name, ntohs( rtmp->rt_firstnet ),
684 ntohs( rtmp->rt_lastnet ));
694 ntohs( rtm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/shared/
H A Dnvparse.c70 if (ntohs(app->match.dst.ports[0]) > ntohs(app->match.dst.ports[1]))
78 if (ntohs(app->dport[0]) > ntohs(app->dport[1]))
82 if (ntohs(app->to[0]) > ntohs(app->to[1]))
86 if ((ntohs(app->dport[1]) - ntohs(app->dport[0])) !=
87 (ntohs(app->to[1]) - ntohs(ap
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/802/
H A Dtr.c164 printk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(trllc->ethertype));
198 riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
285 if(!entry->local_ring && (ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8)
323 slack = 18 - ((ntohs(trh->rcf) & TR_RCF_LEN_MASK)>>8);
353 if (((ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8) > 2)
368 ntohs(trh->rcf));
409 ntohs(trh->rcf));
539 seq_printf(seq, "%04X", ntohs(entry->rcf));
540 rcf_len = ((ntohs(entry->rcf) & TR_RCF_LEN_MASK)>>8)-2;
545 segment=ntohs(entr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/atp/
H A Datp_packet.c91 printf( "%d.", ntohs( saddr->sat_addr.s_net ));
189 printf( " tid=%hu func=", ntohs( ahdr.atphd_tid ));
224 printf( "\nfor tid=%hu func=", ntohs( tid ));
249 printf( "<%d> got tid=%hu func=", getpid(), ntohs( rtid ));
260 cq->atpbuf_info.atpbuf_xo.atpxo_tid == ntohs( rtid ))
265 printf( "<%d> releasing transaction %hu\n", getpid(), ntohs( rtid ));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_lsa.h56 #define OSPF6_LSA_TYPESW(x) (ntohs((x)) & OSPF6_LSA_TYPESW_MASK)
199 ((char *)(x) + ntohs ((x)->length)))
303 ntohs (type), __FILE__, __LINE__);\
319 ntohs (type), __FILE__, __LINE__);\
334 ntohs (type), __FILE__, __LINE__);\
349 ntohs (type), __FILE__, __LINE__);\
H A Dospf6_dbex.c144 if (OSPF6_LSA_IS_SCOPE_LINKLOCAL (ntohs (received->header->type)))
154 else if (OSPF6_LSA_IS_SCOPE_AREA (ntohs (received->header->type)))
164 else if (OSPF6_LSA_IS_SCOPE_AS (ntohs (received->header->type)))
248 cksum = ntohs (lsa_header->checksum);
249 if (ntohs (ospf6_lsa_checksum (lsa_header)) != cksum)
252 received->str, cksum, ntohs (ospf6_lsa_checksum (lsa_header)));
262 ntohs (lsa_header->type));
383 ntohs (received->header->type));
684 if (OSPF6_LSA_IS_SCOPE_LINKLOCAL (ntohs (lsa_header->type)))
691 else if (OSPF6_LSA_IS_SCOPE_AREA (ntohs (lsa_heade
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/atp/
H A Datp_packet.c91 printf( "%d.", ntohs( saddr->sat_addr.s_net ));
189 printf( " tid=%hu func=", ntohs( ahdr.atphd_tid ));
224 printf( "\nfor tid=%hu func=", ntohs( tid ));
249 printf( "<%d> got tid=%hu func=", getpid(), ntohs( rtid ));
260 cq->atpbuf_info.atpbuf_xo.atpxo_tid == ntohs( rtid ))
265 printf( "<%d> releasing transaction %hu\n", getpid(), ntohs( rtid ));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_nat_pptp.c133 switch (msg = ntohs(ctlh->messageType)) {
173 ntohs(REQ_CID(pptpReq, cid_off)), ntohs(new_callid));
228 switch (msg = ntohs(ctlh->messageType)) {
266 ntohs(REQ_CID(pptpReq, pcid_off)), ntohs(new_pcid));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/
H A Dradvdump.c189 if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(radvert->nd_ra_router_lifetime))
190 printf("\tAdvDefaultLifetime %hu;\n", ntohs(radvert->nd_ra_router_lifetime));
271 if (!edefs || DFLT_HomeAgentPreference != ntohs(ha_info->preference))
272 printf("\tHomeAgentPreference %hu;\n", ntohs(ha_info->preference));
274 if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(ha_info->lifetime))
275 printf("\tHomeAgentLifetime %hu;\n", ntohs(ha_info->lifetime));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/sys/netatalk/
H A Dddp_usrreq.c342 ntohs( net ) >= ntohs( aa->aa_firstnet ) &&
343 ntohs( net ) <= ntohs( aa->aa_lastnet )) {
513 ntohs( ddp->ddp_lsat.sat_addr.s_net ) >=
514 ntohs( aa->aa_firstnet ) &&
515 ntohs( ddp->ddp_lsat.sat_addr.s_net ) <=
516 ntohs( aa->aa_lastnet )) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/sys/netatalk/
H A Dddp_usrreq.c342 ntohs( net ) >= ntohs( aa->aa_firstnet ) &&
343 ntohs( net ) <= ntohs( aa->aa_lastnet )) {
513 ntohs( ddp->ddp_lsat.sat_addr.s_net ) >=
514 ntohs( aa->aa_firstnet ) &&
515 ntohs( ddp->ddp_lsat.sat_addr.s_net ) <=
516 ntohs( aa->aa_lastnet )) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/
H A Dinqueue.c156 chunk->chunk_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
196 ntohs(chunk->chunk_hdr->length), chunk->skb->len);
H A Dsm_make_chunk.c1118 int chunklen = ntohs(chunk->chunk_hdr->length);
1153 htons(ntohs(chunk->chunk_hdr->length) + len);
1175 sid = ntohs(chunk->subh.data_hdr->stream);
1254 + ntohs(init_chunk->chunk_hdr->length) + addrs_len;
1294 ntohs(init_chunk->chunk_hdr->length));
1298 ntohs(init_chunk->chunk_hdr->length), raw_addrs, addrs_len);
1352 bodysize = ntohs(chunk->chunk_hdr->length) - headersize;
1359 len = ntohs(chunk->chunk_hdr->length);
1421 ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) {
1449 len = ntohs(chun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Drfc1035.c294 int q, qdcount = ntohs(header->qdcount);
319 i < (ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->arcount));
332 if (pheader && ntohs(header->arcount) == 0)
348 int i, arcount = ntohs(header->arcount);
355 for (i = 0; i < (ntohs(header->ancount) + ntohs(header->nscount)); i++)
450 if (ntohs(header->ancount) != 0)
459 for (i=0; i<ntohs(heade
[all...]

Completed in 289 milliseconds

1234567891011>>