Lines Matching refs:buf
171 static int ip6_pcbopt(int optname, u_char *buf, int len, struct ip6_pktopts **pktopt, int uproto);
173 static int ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt, int sticky, int cmsg, int uproto);
2665 ip6_pcbopt(int optname, u_char *buf, int len, struct ip6_pktopts **pktopt,
2679 return (ip6_setpktopt(optname, buf, len, opt, 1, 0, uproto));
3111 ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt,
3128 VERIFY(IS_P2ALIGNED(buf, sizeof (u_int32_t)));
3174 pktinfo = (struct in6_pktinfo *)(void *)buf;
3246 hlimp = (int *)(void *)buf;
3260 tclass = *(int *)(void *)buf;
3280 if (len < sizeof(struct sockaddr) || len < *buf)
3283 switch (((struct sockaddr *)buf)->sa_family) {
3287 (struct sockaddr_in6 *)(void *)buf;
3309 opt->ip6po_nexthop = _MALLOC(*buf, M_IP6OPT, M_NOWAIT);
3312 bcopy(buf, opt->ip6po_nexthop, *buf);
3338 hbh = (struct ip6_hbh *)(void *)buf;
3372 dest = (struct ip6_dest *)(void *)buf;
3432 rth = (struct ip6_rthdr *)(void *)buf;
3463 minmtupolicy = *(int *)(void *)buf;
3476 if (uproto == IPPROTO_TCP || *(int *)(void *)buf == 0) {
3489 preftemp = *(int *)(void *)buf;