Searched refs:offsetof (Results 101 - 125 of 138) sorted by path

123456

/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6.cpp1327 + offsetof(icmp6_hdr, icmp6_cksum)>
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A Dtcp.cpp43 typedef NetBufferField<uint16, offsetof(tcp_header, checksum)> TCPChecksumField;
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp73 typedef NetBufferField<uint16, offsetof(udp_header, udp_checksum)>
/haiku/src/add-ons/kernel/network/stack/
H A Ddatalink.cpp807 size_t maxLength = length - offsetof(ifreq, ifr_addr);
954 const size_t copylen = offsetof(ifreq, ifr_media) + sizeof(ifreq::ifr_media);
H A Dlink.cpp458 const size_t copylen = offsetof(ifreq, ifr_media) + sizeof(ifreq::ifr_media);
/haiku/src/bin/
H A Dcopyattr.cpp468 char buffer[offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH];
/haiku/src/bin/network/ping/
H A Dping.c1085 memcpy(outpack + offsetof(struct icmp, icmp_cksum), &icp.icmp_cksum,
1094 memcpy(outpackhdr + offsetof(struct ip, ip_len), &ip.ip_len,
1098 memcpy(outpackhdr + offsetof(struct ip, ip_sum), &ip.ip_sum,
1178 icmp_data_raw_len = cc - (hlen + offsetof(struct icmp, icmp_data));
1179 icmp_data_raw = buf + hlen + offsetof(struct icmp, icmp_data);
1268 cp = (u_char*)(buf + hlen + offsetof(struct icmp,
1285 offsetof(struct icmp, icmp_data));
/haiku/src/build/libbe/storage/
H A DMergedDirectory.cpp205 char buffer[offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH];
/haiku/src/kits/storage/
H A DCopyEngine.cpp294 char buffer[offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH];
H A DRemoveEngine.cpp87 char buffer[offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH];
/haiku/src/kits/tracker/
H A DEntryIterator.cpp257 ASSERT(size > offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH);
281 < (offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH)) {
H A DNodeWalker.cpp400 size_t recordLength = offsetof(struct dirent, d_name) + strlen(ref.name) + 1;
/haiku/src/libs/bsd/
H A Dwait.c64 offsetof(struct rusage, ru_maxrss));
/haiku/src/libs/compat/freebsd_network/
H A Dcallout.cpp123 list_init_etc(&sTimers, offsetof(struct callout, c_link));
H A Ddevice.c39 list_init_etc(&device->children, offsetof(struct device, link));
400 list_init_etc(&sRootDevices, offsetof(struct device, link));
H A Dif.c364 masklen = offsetof(struct sockaddr_dl, sdl_data[0]) + IFNAMSIZ;
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ageq.c226 offsetof(struct mbuf, m_nextpkt));
H A Dieee80211_node.c1092 memset(ies, 0, offsetof(struct ieee80211_ies, data));
H A Dieee80211_output.c1282 offsetof(struct ip, ip_tos), sizeof(tos), &tos);
1295 offsetof(struct ip6_hdr, ip6_flow), sizeof(flow),
/haiku/src/libs/compat/openbsd_wlan/sys/
H A Dtree.h950 offsetof(struct _type, _field), \
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp1939 char buffer[offsetof(struct dirent, d_name) + B_FILE_NAME_LENGTH];
/haiku/src/system/boot/platform/next_m68k/
H A Daligntest.c10 int o = offsetof(struct mon_global, mg_board_rev);
/haiku/src/system/kernel/arch/arm/
H A Dasm_offsets.cpp24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/system/kernel/arch/arm64/
H A Dasm_offsets.cpp25 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/system/kernel/arch/riscv64/
H A Dasm_offsets.cpp24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));

Completed in 195 milliseconds

123456