Home
last modified time | relevance | path

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

/freebsd-9-stable/lib/libc/net/
Dip6opt.c97 inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx, in inet6_option_append() argument
105 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_append()
122 padlen = (((off % multx) + (multx - 1)) & ~(multx - 1)) - in inet6_option_append()
123 (off % multx); in inet6_option_append()
125 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_append()
167 inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy) in inet6_option_alloc() argument
175 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_alloc()
192 padlen = (((off % multx) + (multx - 1)) & ~(multx - 1)) - in inet6_option_alloc()
193 (off % multx); in inet6_option_alloc()
195 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_alloc()