/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/ |
H A D | avpsend.c | 33 raw[0] = htons (0x8 | MBIT); 34 raw[1] = htons (VENDOR_ID); 36 raw[3] = htons (type); 44 raw[0] = htons (0x8 | MBIT); /* Length and M bit */ 45 raw[1] = htons (VENDOR_ID); 46 raw[2] = htons (0x2); /* Value of our AVP */ 47 raw[3] = htons (OUR_L2TP_VERSION); 55 raw[0] = htons (0xA | MBIT); 56 raw[1] = htons (VENDOR_ID); 57 raw[2] = htons ( [all...] |
H A D | misc.h | 49 #ifdef htons 50 #undef htons macro 53 #undef htons macro 55 #define htons(a) SWAPS(a) macro
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/ |
H A D | clientsocket.c | 44 fd = xsocket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); 47 sock.sll_protocol = htons(ETH_P_IP);
|
H A D | arpping.c | 49 s = socket(PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP)); 64 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */ 65 arp.htype = htons(ARPHRD_ETHER); /* hardware type */ 66 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */ 69 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */ 96 if (arp.operation == htons(ARPOP_REPLY)
|
H A D | packet.c | 68 packet->flags |= htons(BROADCAST_FLAG); 118 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); 128 dest.sll_protocol = htons(ETH_P_IP); 141 packet.udp.source = htons(source_port); 142 packet.udp.dest = htons(dest_port); 143 packet.udp.len = htons(sizeof(packet.udp) + sizeof(struct dhcpMessage)); /* cheat on the psuedo-header */ 148 packet.ip.tot_len = htons(sizeof(struct udp_dhcp_packet)); 183 client.sin_port = htons(source_port); 193 client.sin_port = htons(dest_port);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/ |
H A D | ip_vs_proto_ah.c | 55 htons(PORT_ISAKMP), 57 htons(PORT_ISAKMP)); 61 htons(PORT_ISAKMP), 63 htons(PORT_ISAKMP)); 92 htons(PORT_ISAKMP), 94 htons(PORT_ISAKMP)); 98 htons(PORT_ISAKMP), 100 htons(PORT_ISAKMP));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | x25device.h | 14 return htons(ETH_P_X25);
|
H A D | dsfield.h | 38 iph->check = (__force __sum16)htons(check); 50 *(__be16 *) ipv6h = htons(tmp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/ |
H A D | ad_attr.c | 35 if (fflags & htons(FINDERINFO_INVISIBLE)) 36 *attr |= htons(ATTRBIT_INVISIBLE); 38 *attr &= htons(~ATTRBIT_INVISIBLE); 44 if (fflags & htons(FINDERINFO_ISHARED)) 45 *attr |= htons(ATTRBIT_MULTIUSER); 47 *attr &= htons(~ATTRBIT_MULTIUSER); 55 *attr |= htons(ad->ad_open_forks); 66 u_int16_t attr = attribute & ~htons(ATTRBIT_DOPEN | ATTRBIT_ROPEN); 86 if (attr & htons(ATTRBIT_INVISIBLE)) 87 fflags |= htons(FINDERINFO_INVISIBL [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/ |
H A D | ad_attr.c | 35 if (fflags & htons(FINDERINFO_INVISIBLE)) 36 *attr |= htons(ATTRBIT_INVISIBLE); 38 *attr &= htons(~ATTRBIT_INVISIBLE); 44 if (fflags & htons(FINDERINFO_ISHARED)) 45 *attr |= htons(ATTRBIT_MULTIUSER); 47 *attr &= htons(~ATTRBIT_MULTIUSER); 55 *attr |= htons(ad->ad_open_forks); 66 u_int16_t attr = attribute & ~htons(ATTRBIT_DOPEN | ATTRBIT_ROPEN); 86 if (attr & htons(ATTRBIT_INVISIBLE)) 87 fflags |= htons(FINDERINFO_INVISIBL [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/ |
H A D | arpping.c | 48 if ((s = socket (PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP))) == -1) {
63 arp.ethhdr.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
64 arp.htype = htons(ARPHRD_ETHER); /* hardware type */
65 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */
68 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */
95 if (arp.operation == htons(ARPOP_REPLY) &&
|
H A D | packet.c | 77 packet->flags |= htons(BROADCAST_FLAG);
126 if ((fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) {
135 dest.sll_protocol = htons(ETH_P_IP);
148 packet.udp.source = htons(source_port);
149 packet.udp.dest = htons(dest_port);
150 packet.udp.len = htons(sizeof(packet.udp) + sizeof(struct dhcpMessage)); /* cheat on the psuedo-header */
155 packet.ip.tot_len = htons(sizeof(struct udp_dhcp_packet));
186 client.sin_port = htons(source_port);
194 client.sin_port = htons(dest_port);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/ |
H A D | warnless.h | 62 # undef htons macro 63 # define htons(a) curlx_htons((a)) macro
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/ |
H A D | checksum.h | 101 : "r" (sum), "r" (daddr), "r" (saddr), "r" (htons(len)), "Ir" (htons(proto)) 123 : "r" (sum), "r" (daddr), "r" (saddr), "r" (htons(len)), "Ir" (htons(proto))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/sys/netatalk/ |
H A D | endian.h | 108 #define htons(x) (x) macro 115 #define htons(x) nuxi_s(x) macro 120 unsigned short ntohs(), htons();
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/sys/netatalk/ |
H A D | endian.h | 108 #define htons(x) (x) macro 115 #define htons(x) nuxi_s(x) macro 120 unsigned short ntohs(), htons();
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/ |
H A D | arping.c | 56 ah->ar_hrd = htons(ME->sll_hatype); 57 ah->ar_hrd = htons(ARPHRD_ETHER); 58 ah->ar_pro = htons(ETH_P_IP); 61 ah->ar_op = option_mask32 & ADVERT ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST); 143 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY)) 147 if (ah->ar_hrd != htons(FROM->sll_hatype) 148 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) 152 if (ah->ar_pro != htons(ETH_P_I [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/ |
H A D | ebt_arpreply.c | 32 if (ap->ar_op != htons(ARPOP_REQUEST) || 34 ap->ar_pro != htons(ETH_P_IP) || 68 if (e->ethproto != htons(ETH_P_ARP) ||
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/dsi/ |
H A D | dsi_close.c | 23 dsi->header.dsi_requestID = htons(dsi_serverID(dsi));
|
H A D | dsi_tickle.c | 30 id = htons(dsi_serverID(dsi));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/test/afpd/ |
H A D | afpfunc_helpers.c | 74 PUSHVAL(p, uint16_t, htons(slen), len); 119 PUSHVAL(p, uint16_t, htons(FILPBIT_FNUM | FILPBIT_PDINFO), len); 120 PUSHVAL(p, uint16_t, htons(DIRPBIT_DID | DIRPBIT_PDINFO), len); 150 PUSHVAL(p, uint16_t, htons(128), len); /* hard create */ 165 PUSHVAL(p, uint16_t, htons(128), len); /* hard create */ 184 PUSHVAL(p, uint16_t, htons(FILPBIT_PDID | FILPBIT_FNUM | FILPBIT_PDINFO), len); 185 PUSHVAL(p, uint16_t, htons(DIRPBIT_PDID | DIRPBIT_DID | DIRPBIT_PDINFO), len); 186 PUSHVAL(p, uint16_t, htons(20), len); /* reqcount */ 209 bitmap = htons(1<<VOLPBIT_VID);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/dsi/ |
H A D | dsi_close.c | 23 dsi->header.dsi_requestID = htons(dsi_serverID(dsi));
|
H A D | dsi_tickle.c | 30 id = htons(dsi_serverID(dsi));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/test/afpd/ |
H A D | afpfunc_helpers.c | 74 PUSHVAL(p, uint16_t, htons(slen), len); 119 PUSHVAL(p, uint16_t, htons(FILPBIT_FNUM | FILPBIT_PDINFO), len); 120 PUSHVAL(p, uint16_t, htons(DIRPBIT_DID | DIRPBIT_PDINFO), len); 150 PUSHVAL(p, uint16_t, htons(128), len); /* hard create */ 165 PUSHVAL(p, uint16_t, htons(128), len); /* hard create */ 184 PUSHVAL(p, uint16_t, htons(FILPBIT_PDID | FILPBIT_FNUM | FILPBIT_PDINFO), len); 185 PUSHVAL(p, uint16_t, htons(DIRPBIT_PDID | DIRPBIT_DID | DIRPBIT_PDINFO), len); 186 PUSHVAL(p, uint16_t, htons(20), len); /* reqcount */ 209 bitmap = htons(1<<VOLPBIT_VID);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/pppoatm/ |
H A D | misc.c | 14 #include <netinet/in.h> /* for htons */ 49 vs_id[5] = (htons(port) >> 8) & 255; 50 vs_id[6] = htons(port) & 255;
|