Searched refs:htons (Results 101 - 113 of 113) sorted by relevance

12345

/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPInterface.cpp1631 header = htons(protocolNumber);
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h83 #define htons(x) fssh_htons(x) macro
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_mesh.c1283 !(llc->llc_snap.ether_type == htons(ETHERTYPE_AARP) ||
1284 llc->llc_snap.ether_type == htons(ETHERTYPE_IPX))) {
1332 eh->ether_type = htons(m->m_pkthdr.len - sizeof(*eh));
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/
H A Dif_jme.c1731 if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
1761 htons((tcp->th_off << 2) + IPPROTO_TCP));
1767 ip->ip_dst.s_addr, htons(IPPROTO_TCP));
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/
H A Dif_sk.c2694 if (eh->ether_type != htons(ETHERTYPE_IP))
2708 csum1 = htons(csum & 0xffff);
2709 csum2 = htons((csum >> 16) & 0xffff);
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c2950 case htons(ETHERTYPE_IPV6):
2954 case htons(ETHERTYPE_IP):
3274 if (eh->evl_encap_proto == htons(ETHERTYPE_VLAN)) {
3348 ip->ip_dst.s_addr, htons(IPPROTO_TCP));
3352 ip->ip_len = htons(pi->ipi_ip_hlen + pi->ipi_tcp_hlen + pi->ipi_tso_segsz);
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/
H A Dif_alc.c2759 if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
2803 ip->ip_dst.s_addr, htons(IPPROTO_TCP));
2852 vtag = htons(m->m_pkthdr.ether_vtag);
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/
H A Dif_bge.c5139 ip->ip_len = htons(*mss + (ip->ip_hl << 2) + (tcp->th_off << 2));
5472 CSR_WRITE_4(sc, BGE_MAC_ADDR1_LO, htons(m[0]));
5473 CSR_WRITE_4(sc, BGE_MAC_ADDR1_HI, (htons(m[1]) << 16) | htons(m[2]));
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/
H A Dif_ale.c1679 if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
1732 ip->ip_dst.s_addr, htons(IPPROTO_TCP));
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/
H A Dif_age.c1546 if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
1591 ip->ip_dst.s_addr, htons(IPPROTO_TCP));
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp2724 if (!output_tiff && htons(0x55aa) != 0x55aa)
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/
H A Dif_re.c832 eh->ether_type = htons(ETHERTYPE_IP);
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/
H A Dif_de.c273 mtod(m, struct ether_header *)->ether_type = htons(3);

Completed in 220 milliseconds

12345