HomeSort by: relevance | last modified time | path
    Searched refs:ntohs (Results 1 - 25 of 275) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/sys/lib/libkern/arch/alpha/
ntohs.S 1 /* $NetBSD: ntohs.S,v 1.1 1996/04/17 22:46:46 cgd Exp $ */
30 #define NAME ntohs
  /src/lib/libc/net/
Lint_ntohs.c 9 #undef ntohs
13 ntohs(uint16_t net16) function in typeref:typename:uint16_t
  /src/common/lib/libc/arch/m68k/net/
ntohs.S 1 /* $NetBSD: ntohs.S,v 1.3 2013/07/16 23:24:19 matt Exp $ */
40 RCSID("from: @(#)ntohs.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: ntohs.S,v 1.3 2013/07/16 23:24:19 matt Exp $")
46 /* hostorder = ntohs(netorder) */
48 ENTRY(ntohs) function
52 END(ntohs)
  /src/usr.sbin/ldpd/
tlv.c 55 if (ntohs(t->type) != LDP_HELLO)
59 if (ntohs(t->length) + TLV_TYPE_LENGTH > max)
62 t->type = ntohs(t->type);
63 t->length = ntohs(t->length);
73 warnp("TLV type %.4X, Length %d, Message ID %.8X\n", ntohs(t->type),
74 ntohs(t->length), ntohs(t->messageid));
pdu.c 50 p->version = ntohs(p1->version);
51 p->length = ntohs(p1->length);
53 p->label_space = ntohs(p1->label_space);
80 if (ntohs(rpdu->version) != LDP_VERSION) {
82 satos(p->address), ntohs(rpdu->version));
90 if (ntohs(rpdu->length) > c - PDU_VER_LENGTH) {
93 ntohs(rpdu->length), (int) (c - PDU_VER_LENGTH));
tlv_stack.c 68 if (ntohs(f->type) != TLV_FEC) {
72 if (ntohs(l->type) != TLV_GENERIC_LABEL) {
73 debugp("Invalid LABEL TLV! (0x%.4X)\n", ntohs(l->type));
81 n = ntohs(f->length);
101 if (ntohs(pref->af) == LDP_AF_INET) {
104 } else if (ntohs(pref->af) == LDP_AF_INET6) {
109 "length %d)\n", ntohs(pref->af), pref->type,
162 if (ntohs(f->type) != TLV_FEC) {
166 n = ntohs(f->length);
173 if (ntohs(pref->af) == LDP_AF_INET)
    [all...]
  /src/common/lib/libc/net/
ntohs.c 1 /* $NetBSD: ntohs.c,v 1.3 2012/03/21 20:02:56 he Exp $ */
10 __RCSID("$NetBSD: ntohs.c,v 1.3 2012/03/21 20:02:56 he Exp $");
15 #undef ntohs
18 ntohs(uint16_t x) function in typeref:typename:uint16_t
  /src/common/lib/libc/arch/sparc/net/
ntohs.S 1 /* $NetBSD: ntohs.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: ntohs.s,v 1.1 92/06/25 12:47:07 torek Exp
41 .asciz "@(#)ntohs.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: ntohs.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* hostorder = ntohs(netorder) */
49 ENTRY(ntohs) function
  /src/common/lib/libc/arch/sparc64/net/
ntohs.S 1 /* $NetBSD: ntohs.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: ntohs.s,v 1.1 92/06/25 12:47:07 torek Exp
41 .asciz "@(#)ntohs.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: ntohs.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* hostorder = ntohs(netorder) */
49 ENTRY(ntohs) function
  /src/lib/libc/arch/sh3/net/
ntohs.c 1 /* $NetBSD: ntohs.c,v 1.3 2005/12/24 23:10:08 perry Exp $ */
40 __RCSID("$NetBSD: ntohs.c,v 1.3 2005/12/24 23:10:08 perry Exp $");
43 /* hostorder = ntohs(netorder) */
46 ntohs(x) function
  /src/common/lib/libc/arch/i386/gen/
byte_swap_2.S 47 _ENTRY(_C_LABEL(ntohs))
58 END(_C_LABEL(ntohs))
  /src/common/lib/libc/arch/x86_64/gen/
byte_swap_2.S 14 _ENTRY(_C_LABEL(ntohs))
25 END(_C_LABEL(ntohs))
  /src/sys/lib/libkern/arch/sh3/
byte_swap_2.S 37 ALTENTRY(ntohs) function
45 ENTRY(ntohs) function
  /src/sys/lib/libsa/
udp.c 77 inet_ntoa(d->myip), ntohs(d->myport));
79 inet_ntoa(d->destip), ntohs(d->destport));
120 ntohs(d->myport), ntohs(uh->uh_dport));
125 if (ntohs(uh->uh_ulen) < sizeof(*uh)) {
129 ntohs(uh->uh_ulen), sizeof(*uh));
  /src/common/lib/libc/arch/aarch64/gen/
byte_swap_2.S 45 STRONG_ALIAS(_C_LABEL(ntohs), FUNC)
  /src/common/lib/libc/arch/alpha/gen/
byte_swap_2.S 44 XLEAF(ntohs, 1)
  /src/common/lib/libc/arch/vax/gen/
bswap16.S 39 ALTENTRY(_C_LABEL(ntohs))
  /src/lib/libc/arch/vax/gen/
byte_swap_2.S 37 ALTENTRY(ntohs) function
  /src/usr.sbin/rbootd/
utils.c 117 rmp->hp_llc.dsap, rmp->hp_llc.ssap, ntohs(rmp->hp_llc.cntrl));
121 ntohs(rmp->hp_llc.dxsap), ntohs(rmp->hp_llc.sxsap));
131 if (ntohs(rmp->r_brq.rmp_session) == RMP_PROBESID) {
139 (unsigned long)t, ntohs(rmp->r_brq.rmp_session),
140 ntohs(rmp->r_brq.rmp_version));
150 (unsigned long)t, ntohs(rmp->r_brpl.rmp_session),
151 ntohs(rmp->r_brpl.rmp_version));
158 (unsigned long)t, ntohs(rmp->r_rrq.rmp_session));
160 ntohs(rmp->r_rrq.rmp_size))
    [all...]
  /src/sys/netatalk/
ddp_output.c 135 if (ntohs(net) >= ntohs(aa->aa_firstnet) &&
136 ntohs(net) <= ntohs(aa->aa_lastnet)) {
177 if (ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) >=
178 ntohs(aa->aa_firstnet) &&
179 ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) <=
180 ntohs(aa->aa_lastnet)) {
188 if (ntohs(satocsat(rtcache_getdst(ro))->sat_addr.s_net) >=
189 ntohs(aa->aa_firstnet) &
    [all...]
at_control.c 369 ntohs(aa->aa_firstnet), ntohs(aa->aa_lastnet),
406 nnets = ntohs(nr.nr_lastnet) - ntohs(nr.nr_firstnet) + 1;
413 ntohs(sat->sat_addr.s_net), sat->sat_addr.s_node,
414 ntohs(aa->aa_firstnet), ntohs(aa->aa_lastnet),
458 net = ntohs(nr.nr_firstnet) +
461 net = ntohs(nr.nr_firstnet);
469 if (ntohs(sat->sat_addr.s_net)
    [all...]
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 232 if (!(ntohs(tp->th_opcode) == RRQ || ntohs(tp->th_opcode) == WRQ)) {
289 ntohs(((struct sockaddr_in *)&from)->sin_port),
291 ntohs(((struct sockaddr_in *)&proxy)->sin_port),
293 ntohs(((struct sockaddr_in *)&proxy_to_server)->sin_port),
295 ntohs(((struct sockaddr_in *)&server)->sin_port),
296 opcode(ntohs(tp->th_opcode)),
307 (struct sockaddr *)&proxy_to_server, ntohs(sock_out.sin_port),
309 ntohs(((struct sockaddr_in *)&from)->sin_port),
319 ntohs(((struct sockaddr_in *)&from)->sin_port)
    [all...]
  /src/lib/libisns/
isns_util.h 39 #define isns_ntohs ntohs
  /src/usr.sbin/npf/npftest/
npfstream.c 49 if (ntohs(eth->ether_type) != ETHERTYPE_IP) {
59 tcpdlen = ntohs(ip->ip_len) - hlen - (th->th_off << 2);
78 len = ntohs(ip->ip_len);
84 tcpdlen, ntohs(th->th_win), (uintptr_t)result[0]);
  /src/common/lib/libc/arch/mips/gen/
byte_swap_2.S 58 ALEAF(ntohs)
79 ALEAF(ntohs)

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 91011