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

1 2 3 4 5 6 7 8 91011>>

  /src/sys/lib/libkern/arch/alpha/
htons.S 1 /* $NetBSD: htons.S,v 1.1 1996/04/17 22:46:43 cgd Exp $ */
30 #define NAME htons
  /src/lib/libc/net/
Lint_htons.c 9 #undef htons
13 htons(uint16_t host16) function in typeref:typename:uint16_t
  /src/common/lib/libc/arch/m68k/net/
htons.S 1 /* $NetBSD: htons.S,v 1.3 2013/07/16 23:24:19 matt Exp $ */
40 RCSID("from: @(#)htons.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: htons.S,v 1.3 2013/07/16 23:24:19 matt Exp $")
46 /* hostorder = htons(netorder) */
48 ENTRY(htons) function
52 END(htons)
  /src/common/lib/libc/net/
htons.c 1 /* $NetBSD: htons.c,v 1.3 2012/03/21 20:02:56 he Exp $ */
10 __RCSID("$NetBSD: htons.c,v 1.3 2012/03/21 20:02:56 he Exp $");
15 #undef htons
18 htons(uint16_t x) function in typeref:typename:uint16_t
  /src/common/lib/libc/arch/sparc/net/
htons.S 1 /* $NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htons(hostorder) */
48 ENTRY(htons) function
  /src/common/lib/libc/arch/sparc64/net/
htons.S 1 /* $NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htons(hostorder) */
48 ENTRY(htons) function
  /src/lib/libc/arch/sh3/net/
htons.c 1 /* $NetBSD: htons.c,v 1.3 2005/12/24 23:10:08 perry Exp $ */
40 __RCSID("$NetBSD: htons.c,v 1.3 2005/12/24 23:10:08 perry Exp $");
43 /* netorder = htons(hostorder) */
46 htons(x) function
  /src/common/lib/libc/arch/i386/gen/
byte_swap_2.S 34 * from: @(#)htons.s 5.2 (Berkeley) 12/17/90
48 _ENTRY(_C_LABEL(htons))
59 END(_C_LABEL(htons))
  /src/common/lib/libc/arch/x86_64/gen/
byte_swap_2.S 15 _ENTRY(_C_LABEL(htons))
26 END(_C_LABEL(htons))
  /src/sys/lib/libkern/arch/sh3/
byte_swap_2.S 38 ALTENTRY(htons) function
46 ALTENTRY(htons) function
  /src/usr.sbin/ldpd/
notifications.c 54 t->type = htons(LDP_NOTIFICATION);
55 t->length = htons(sizeof(struct notification_tlv) - TLV_TYPE_LENGTH);
56 t->status = htons(TLV_STATUS);
tlv_stack.c 235 t->type = htons(LDP_LABEL_RELEASE);
273 lmt->type = htons(LDP_LABEL_MAPPING);
274 lmt->length = htons(sizeof(struct label_map_tlv) - TLV_TYPE_LENGTH
284 fec->type = htons(TLV_FEC);
285 fec->length = htons(sizeof(struct prefix_tlv) - sizeof(struct in_addr) +
296 p->af = htons(LDP_AF_INET);
305 l->type = htons(TLV_GENERIC_LABEL);
306 l->length = htons(sizeof(l->label));
312 lrt, htons(lrt->length) + TLV_TYPE_LENGTH);
368 lmt->type = htons(LDP_LABEL_WITHDRAW)
    [all...]
fsm.c 82 if (trtlv->type == htons(TLV_IPV4_TRANSPORT)) {
87 } else if (trtlv->type == htons(TLV_IPV6_TRANSPORT)) {
179 t->type = htons(LDP_ADDRESS);
180 t->length = htons(sizeof(struct address_list_tlv) - TLV_TYPE_LENGTH
184 t->a_type = htons(TLV_ADDRESS_LIST);
185 t->a_length = htons(sizeof(t->a_af) +
187 t->a_af = htons(LDP_AF_INET);
socketops.c 347 su.sin.sin_port = htons(LDP_PORT);
354 su.sin6.sin6_port = htons(LDP_PORT);
373 sa.sin_port = htons(LDP_PORT);
445 spdu->version = htons(LDP_VERSION);
446 spdu->length = htons(IPV4_HELLO_MSG_SIZE - PDU_VER_LENGTH);
451 t->type = htons(LDP_HELLO);
452 t->length = htons(MSGID_SIZE +
462 cht->type = htons(TLV_COMMON_HELLO);
463 cht->length = htons(sizeof(cht->holdtime) + sizeof(cht->res));
464 cht->holdtime = htons(ldp_holddown_time)
    [all...]
  /src/common/lib/libc/arch/aarch64/gen/
byte_swap_2.S 46 STRONG_ALIAS(_C_LABEL(htons), FUNC)
  /src/common/lib/libc/arch/alpha/gen/
byte_swap_2.S 43 XLEAF(htons, 1)
  /src/common/lib/libc/arch/vax/gen/
bswap16.S 40 ALTENTRY(_C_LABEL(htons))
  /src/lib/libc/arch/vax/gen/
byte_swap_2.S 33 /* .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93" */
38 ALTENTRY(htons) function
  /src/common/lib/libc/arch/mips/gen/
byte_swap_2.S 39 RCSID("from: @(#)htons.s 8.1 (Berkeley) 6/4/93")
57 ALEAF(htons)
78 NLEAF(htons)
82 END(htons)
  /src/sys/lib/libsa/
arp.c 137 ah->arp_hrd = htons(ARPHRD_ETHER);
138 ah->arp_pro = htons(ETHERTYPE_IP);
141 ah->arp_op = htons(ARPOP_REQUEST);
221 if (ah->arp_hrd != htons(ARPHRD_ETHER) ||
222 ah->arp_pro != htons(ETHERTYPE_IP) ||
233 if (ah->arp_op == htons(ARPOP_REQUEST)) {
242 if (ah->arp_op != htons(ARPOP_REPLY)) {
279 if (arp->arp_hrd != htons(ARPHRD_ETHER) ||
280 arp->arp_pro != htons(ETHERTYPE_IP) ||
291 if (arp->arp_op != htons(ARPOP_REQUEST))
    [all...]
rarp.c 120 ap->arp_hrd = htons(ARPHRD_ETHER);
121 ap->arp_pro = htons(ETHERTYPE_IP);
124 ap->arp_op = htons(ARPOP_REVREQUEST);
205 if (ap->arp_hrd != htons(ARPHRD_ETHER) ||
206 ap->arp_pro != htons(ETHERTYPE_IP) ||
217 if (ap->arp_op != htons(ARPOP_REVREPLY)) {
tftp.c 165 wbuf.t.th_opcode = htons((u_short)RRQ);
175 /* h->iodesc->myport = htons(--tftpport); */
176 h->iodesc->myport = htons(tftpport + (getsecs() & 0x3ff));
177 h->iodesc->destport = htons(IPPORT_TFTP);
206 wbuf.t.th_opcode = htons((u_short)ACK);
207 wbuf.t.th_block = htons((u_short)h->currblock);
239 wbuf.t.th_opcode = htons((u_short)ACK);
240 wbuf.t.th_block = htons((u_short)h->currblock);
242 wbuf.t.th_opcode = htons((u_short)ERROR);
243 wbuf.t.th_code = htons((u_short)ENOSPACE); /* ??? *
    [all...]
  /src/include/protocols/
routed.h 76 #define RIP_AF_INET htons(AF_INET)
93 #define RIP_AUTH_PW htons(2) /* password type */
94 #define RIP_AUTH_MD5 htons(3) /* Keyed MD5 */
  /src/lib/libisns/
isns_util.h 40 #define isns_htons htons
  /src/sys/dev/pci/ixgbe/
if_fdir.c 100 if (eh->evl_encap_proto == htons(ETHERTYPE_VLAN)) {
109 if (etype != htons(ETHERTYPE_IP))
137 common.flex_bytes ^= htons(ETHERTYPE_VLAN);

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 91011>>