Home
last modified time | relevance | path

Searched refs:CMSG_ALIGN (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsocket.h299 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro
301 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \
302 + CMSG_ALIGN (sizeof (struct cmsghdr)))
303 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
319 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()
322 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsocket.h299 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro
301 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \
302 + CMSG_ALIGN (sizeof (struct cmsghdr)))
303 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
319 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()
322 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/
H A Dsocket.h106 #define CMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) ) macro
112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len))
146 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsocket.h106 #define CMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) ) macro
112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len))
146 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); in __cmsg_nxthdr()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dexthdrs.c1224 *p += CMSG_ALIGN(ipv6_optlen(*dest)); in ipv6_renew_option()
1257 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
1259 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()
1261 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
1263 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()
1267 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()
H A Dip6_flowlabel.c381 olen = optlen - CMSG_ALIGN(sizeof(*freq)); in fl_create()
405 CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create()
/OK3568_Linux_fs/kernel/net/
H A Dcompat.c165 tmp = CMSG_ALIGN(tmp); in cmsghdr_from_user_compat_to_kern()
192 if ((char *)kcmsg_base + kcmlen - (char *)kcmsg < CMSG_ALIGN(tmp)) in cmsghdr_from_user_compat_to_kern()
197 tmp = CMSG_ALIGN(tmp); in cmsghdr_from_user_compat_to_kern()
H A Dsocket.c2328 CMSG_ALIGN(sizeof(struct cmsghdr))); in ____sys_sendmsg()