Lines Matching defs:in
8 * Redistribution and use in source and binary forms, with or without
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
104 #include <netinet/in.h>
161 * Note that mutable fields in the softc are not currently locked.
162 * We do lock sc_ro in stf_output though.
388 struct in_addr in;
398 bcopy(GET_V4(&sin6->sin6_addr), &in, sizeof(in));
399 if (!in_localip(in))
438 /* just in case */
563 isrfc1918addr(in)
564 struct in_addr *in;
571 (ntohl(in->s_addr) & 0xff000000) >> 24 == 10 ||
572 (ntohl(in->s_addr) & 0xfff00000) >> 16 == 172 * 256 + 16 ||
573 (ntohl(in->s_addr) & 0xffff0000) >> 16 == 192 * 256 + 168))
580 stf_checkaddr4(sc, in, inifp)
582 struct in_addr *in;
591 if (IN_MULTICAST(ntohl(in->s_addr)))
593 switch ((ntohl(in->s_addr) & 0xff000000) >> 24) {
602 if (isrfc1918addr(in))
612 if (in->s_addr == ia4->ia_broadaddr.sin_addr.s_addr) {
629 sin.sin_addr = *in;
665 * in ip6_input too, but we check here as well to