Searched refs:ntohs (Results 151 - 175 of 530) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/802/
H A Dfc.c88 printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/netconf/
H A Dnetconf_linux.c482 tcp->spts[0] != ntohs(fw->match.src.ports[0]) ||
483 tcp->spts[1] != ntohs(fw->match.src.ports[1]) ||
484 tcp->dpts[0] != ntohs(fw->match.dst.ports[0]) ||
485 tcp->dpts[1] != ntohs(fw->match.dst.ports[1]))
507 udp->spts[0] != ntohs(fw->match.src.ports[0]) ||
508 udp->spts[1] != ntohs(fw->match.src.ports[1]) ||
509 udp->dpts[0] != ntohs(fw->match.dst.ports[0]) ||
510 udp->dpts[1] != ntohs(fw->match.dst.ports[1]))
870 tcp->spts[0] = ntohs(fw->match.src.ports[0]);
871 tcp->spts[1] = ntohs(f
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospf_packet.c316 if (ntohs (ospfh->auth_type) != OSPF_AUTH_CRYPTOGRAPHIC)
334 md5_process_bytes (ibuf, ntohs (ospfh->length), &ctx);
340 stream_set_putp (op->s, ntohs (ospfh->length));
620 if (OSPF_IF_PARAM (oi, v_hello) != ntohs (hello->hello_interval))
758 if (ntohs (ospfh->auth_type) == OSPF_AUTH_CRYPTOGRAPHIC)
1005 if (ntohs (dd->mtu) > oi->ifp->mtu)
1275 if (length + ntohs (find->data->length) > OSPF_PACKET_MAX (oi))
1290 length += ntohs (find->data->length);
1330 length = ntohs (lsah->length);
1358 if (ntohs (lsa
[all...]
H A Dospf_spf.c204 length = (ntohs (w->length) - OSPF_LSA_HEADER_SIZE - 4) / 4;
217 length = ntohs (w->length);
220 i < ntohs (rl->links) && length >= sizeof (struct router_lsa);
320 lim = ((u_char *) v->lsa) + ntohs (v->lsa->length);
492 lim = ((u_char *) v->lsa) + ntohs (v->lsa->length);
595 w->distance = v->distance + ntohs (l->m[0].metric);
746 ntohs (rlsa->links));
748 lim = ((u_char *) v->lsa) + ntohs (v->lsa->length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dudp.c245 unsigned short hnum = ntohs(dport);
296 unsigned short hnum = ntohs(loc_port);
999 iph->tot_len = htons(ntohs(iph->tot_len) - len);
1139 sk = sk_head(&udptable[ntohs(uh->dest) & (UDP_HTABLE_SIZE - 1)]);
1226 ulen = ntohs(uh->len);
1280 ntohs(uh->source),
1284 ntohs(uh->dest));
1295 ntohs(uh->source),
1297 ntohs(uh->dest),
1666 __u16 destp = ntohs(ine
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnf_conntrack_proto_tcp.c306 ntohs(tuple->src.u.tcp.port),
307 ntohs(tuple->dst.u.tcp.port));
512 win = ntohs(tcph->window);
521 NIPQUAD(iph->saddr), ntohs(tcph->source),
522 NIPQUAD(iph->daddr), ntohs(tcph->dest),
609 NIPQUAD(iph->saddr), ntohs(tcph->source),
610 NIPQUAD(iph->daddr), ntohs(tcph->dest),
953 NIPQUAD(iph->saddr), ntohs(th->source),
954 NIPQUAD(iph->daddr), ntohs(th->dest),
1030 conntrack->proto.tcp.seen[0].td_maxwin = ntohs(t
[all...]
H A Dnf_conntrack_irc.c147 NIPQUAD(iph->saddr), ntohs(th->source),
148 NIPQUAD(iph->daddr), ntohs(th->dest));
H A Dxt_TCPMSS.c158 newlen = htons(ntohs(iph->tot_len) + ret);
191 ipv6h->payload_len = htons(ntohs(ipv6h->payload_len) + ret);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/
H A Dclidgram.c54 dgram->header.source_port = ntohs(src_port);
207 DEBUG(5, ("Socket bound to IP:%s, port: %d\n", inet_ntoa(sock_out.sin_addr), ntohs(sock_out.sin_port)));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_DNAT.c206 printf("%hu", ntohs(r->min.tcp.port));
208 printf("-%hu", ntohs(r->max.tcp.port));
H A Dlibipt_SNAT.c206 printf("%hu", ntohs(r->min.tcp.port));
208 printf("-%hu", ntohs(r->max.tcp.port));
H A Dlibxt_ipvs.c184 printf(" %svport %u", prefix, ntohs(data->vport));
220 printf(" %svportctl %u", prefix, ntohs(data->vportctl));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Ddesktop.c154 bsize = ntohs( bsize );
187 bsize = ntohs( bsize );
190 rsize = ntohs( rsize );
355 iindex = ntohs( iindex );
393 bsize = ntohs(bsize);
433 bsize = ntohs( bsize );
467 rsize = ntohs( rsize );
485 rsize = ntohs( rsize );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/
H A Dscript.c136 dest += sprintf(dest, "%u ", ntohs(val_u16));
140 dest += sprintf(dest, "%d ", ntohs(val_s16));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/
H A Dscript.c93 dest += sprintf(dest, "%u", ntohs(val_u16));
97 dest += sprintf(dest, "%d", ntohs(val_s16));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/netfilter/
H A Dnf_conntrack_tuple.h118 NIP6(*(struct in6_addr *)(tp)->src.u3.all), ntohs((tp)->src.u.all), \
119 NIP6(*(struct in6_addr *)(tp)->dst.u3.all), ntohs((tp)->dst.u.all))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/test/afpd/
H A Dafpfunc_helpers.c101 PUSHVAL(p, uint16_t, ntohs(strlen(name)), len);
230 bitmap = ntohs(bitmap);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dauth.c101 data += ntohs( status );
132 data += ntohs( status );
260 int addr_net = ntohs( asp->asp_sat.sat_addr.s_net );
541 type = ntohs(type);
641 type = ntohs(type);
850 len = ntohs(len16);
879 len = ntohs(len16);
1036 bitmap = ntohs(bitmap);
H A Ddesktop.c154 bsize = ntohs( bsize );
187 bsize = ntohs( bsize );
190 rsize = ntohs( rsize );
355 iindex = ntohs( iindex );
393 bsize = ntohs(bsize);
433 bsize = ntohs( bsize );
467 rsize = ntohs( rsize );
485 rsize = ntohs( rsize );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/test/afpd/
H A Dafpfunc_helpers.c101 PUSHVAL(p, uint16_t, ntohs(strlen(name)), len);
230 bitmap = ntohs(bitmap);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Dar-error.c53 NIPQUAD(addr), ntohs(port));
87 mtu = ntohs(icmp_hdr(skb)->un.frag.mtu);
H A Dar-peer.c130 ntohs(srx->transport.sin.sin_port));
186 ntohs(peer->srx.transport.sin.sin_port));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/
H A Doutqueue.c992 for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) {
993 unack_data -= ((ntohs(frags[i].gab.end) -
994 ntohs(frags[i].gab.start) + 1));
1094 ntohs(frags[ntohs(sack->num_gap_ack_blocks) - 1].gab.end);
1645 for (i = 0; i < ntohs(sack->num_gap_ack_blocks); ++i) {
1646 if (TSN_lte(ntohs(frags[i].gab.start), gap) &&
1647 TSN_lte(gap, ntohs(frags[i].gab.end)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_DNAT.c210 printf("%hu", ntohs(r->min.tcp.port));
212 printf("-%hu", ntohs(r->max.tcp.port));
H A Dlibipt_SNAT.c212 printf("%hu", ntohs(r->min.tcp.port));
214 printf("-%hu", ntohs(r->max.tcp.port));

Completed in 304 milliseconds

1234567891011>>