Lines Matching full:sizeof
172 snprintf(buf, sizeof(buf), "%u", v);
210 memset(&phu, 0, sizeof(phu));
217 for (i = 0; i < sizeof(phu.pa) / sizeof(phu.pa[0]); i++)
540 hlen = sizeof(struct ip6_hdr);
575 hlen = sizeof(struct ip6_frag);
610 #define ECHECK(var) if ((u_char *)&(var) > ep - sizeof(var)) return
682 memset(&in6, 0, sizeof(in6));
693 memcpy(&in6, opri + 1, sizeof(in6));
735 if ((u_char *)mp + sizeof(*mp) > ep)
767 TCHECK2(bp[group + 4], sizeof(struct in6_addr));
773 if (len < group + 20 + (nsrcs * sizeof(struct in6_addr))) {
783 TCHECK2(bp[group + 20 + j * sizeof(struct in6_addr)],
784 sizeof(struct in6_addr));
785 printf(" %s", ip6addr_string(&bp[group + 20 + j * sizeof(struct in6_addr)]));
790 group += 20 + nsrcs * sizeof(struct in6_addr);
824 TCHECK2(bp[8], sizeof(struct in6_addr));
846 if (len < 28 + nsrcs * sizeof(struct in6_addr))
851 TCHECK2(bp[28 + i * sizeof(struct in6_addr)],
852 sizeof(struct in6_addr));
853 printf(" %s", ip6addr_string(&bp[28 + i * sizeof(struct in6_addr)]));
919 if (siz == sizeof(*dp) + 4) {
926 TCHECK2(*dp, sizeof(*ni6));
964 if (siz != sizeof(*ni6))
974 if (siz == sizeof(*ni6)) {
984 sizeof(*ni6) + sizeof(struct in6_addr)))
986 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) {
1012 if (!TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr)))
1014 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) {
1052 if (siz != sizeof(*ni6))
1059 if (siz != sizeof(*ni6))
1076 if (siz != sizeof(*ni6))
1113 i = sizeof(*ni6);
1115 if (i + sizeof(struct in6_addr) + sizeof(int32_t) > siz)
1118 i += sizeof(struct in6_addr);
1120 i += sizeof(int32_t);
1226 if (inet_ntop(AF_INET6, &match->rpm_prefix, hbuf, sizeof(hbuf)))
1270 sizeof(hbuf)))