Home
last modified time | relevance | path

Searched refs:__u16 (Results 1 – 12 of 12) sorted by relevance

/system/netd/bpf_progs/
Dclatd.c115 for (int i = 0; i < sizeof(ip) / sizeof(__u16); ++i) { in nat64()
116 sum4 += ((__u16*)&ip)[i]; in nat64()
121 ip.check = (__u16)~sum4; // sum4 cannot be zero, so this is never 0xFFFF in nat64()
126 for (int i = 0; i < sizeof(*ip6) / sizeof(__u16); ++i) { in nat64()
127 sum6 += ~((__u16*)ip6)[i]; // note the bitwise negation in nat64()
219 for (int i = 0; i < sizeof(*ip4) / sizeof(__u16); ++i) {
220 sum4 += ((__u16*)ip4)[i];
284 for (int i = 0; i < sizeof(ip6) / sizeof(__u16); ++i) {
285 sum6 += ((__u16*)&ip6)[i];
/system/incremental_delivery/incfs/kernel-headers/linux/
Dincrementalfs.h252 __u16 reserved1;
303 __u16 mode;
305 __u16 reserved1;
446 __u16 mode;
448 __u16 reserved1;
/system/extras/ext4_utils/include/ext4_utils/
Dext4_kernel_headers.h35 #define __u16 uint16_t macro
55 #undef __u16
Dext4_extents.h43 __u16 ei_unused;
58 __u16 p_depth;
Dext4.h193 __u16 reserved_blocks;
194 __u16 unused;
280 __u16 h_i_mode_high;
281 __u16 h_i_uid_high;
282 __u16 h_i_gid_high;
/system/extras/simpleperf/nonlinux_support/include/linux/
Dtypes.h20 typedef uint16_t __u16; typedef
/system/core/libsparse/
Dsparse_defs.h33 #define __u16 u16 macro
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h136 typedef unsigned short __u16; typedef
143 typedef __u16 Elf32_Half;
/system/netd/server/
DOffloadUtils.cpp183 .nlmsg_flags = static_cast<__u16>(NETLINK_REQUEST_FLAGS | nlMsgFlags), in doTcQdiscClsact()
DXfrmController.cpp185 size_t fillNlAttr(__u16 nlaType, size_t valueSize, nlattr* nlAttr) { in fillNlAttr()
188 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr()
193 size_t fillNlAttrIpAddress(__u16 nlaType, int family, const std::string& value, nlattr* nlAttr, in fillNlAttrIpAddress()
199 size_t fillNlAttrU32(__u16 nlaType, uint32_t value, XfrmController::nlattr_payload_u32* nlAttr) { in fillNlAttrU32()
/system/core/libusbhost/
Dusbhost.c490 __u16 languages[MAX_STRING_DESCRIPTOR_LENGTH / sizeof(__u16)]; in usb_device_get_string_ucs2()
/system/connectivity/wificond/net/kernel-header-latest/
Dnl80211.h4435 __u16 mcs[NL80211_VHT_NSS_MAX];
4443 __u16 mcs[NL80211_HE_NSS_MAX];