Lines Matching refs:q

5895 struct block *gen_scode(name, q)  in gen_scode()  argument
5897 struct qual q;
5899 int proto = q.proto;
5900 int dir = q.dir;
5917 switch (q.addr)
5931 return gen_host(addr, mask, proto, dir, q.addr);
6015 return (gen_host(dn_addr, 0, proto, dir, q.addr));
6026 b = gen_host(**alist++, 0xffffffff, tproto, dir, q.addr);
6029 tmp = gen_host(**alist++, 0xffffffff, tproto, dir, q.addr);
6056 … tmp = gen_host(ntohl(sin4->sin_addr.s_addr), 0xffffffff, tproto, dir, q.addr);
6063 tmp = gen_host6(&sin6->sin6_addr, &mask128, tproto6, dir, q.addr);
6209 struct block *gen_mcode(s1, s2, masklen, q) in gen_mcode() argument
6212 struct qual q;
6248 switch (q.addr)
6252 return gen_host(n, m, q.proto, q.dir, q.addr);
6262 struct block *gen_ncode(s, v, q) in gen_ncode() argument
6265 struct qual q;
6268 int proto = q.proto;
6269 int dir = q.dir;
6274 else if (q.proto == Q_DECNET)
6279 switch (q.addr)
6286 return gen_host(v, 0, proto, dir, q.addr);
6294 if (s == NULL && q.addr == Q_NET)
6309 return gen_host(v, mask, proto, dir, q.addr);
6380 struct block *gen_mcode6(s1, s2, masklen, q) in gen_mcode6() argument
6383 struct qual q;
6418 switch (q.addr)
6428 b = gen_host6(addr, &mask, q.proto, q.dir, q.addr);
6441 struct block *gen_ecode(eaddr, q) in gen_ecode() argument
6443 struct qual q;
6447 if ((q.addr == Q_HOST || q.addr == Q_DEFAULT) && q.proto == Q_LINK)
6452 return gen_ehostop(eaddr, (int) q.dir);
6454 return gen_fhostop(eaddr, (int) q.dir);
6456 return gen_thostop(eaddr, (int) q.dir);
6462 return gen_wlanhostop(eaddr, (int) q.dir);
6477 b = gen_ehostop(eaddr, (int) q.dir);
6483 return gen_ipfchostop(eaddr, (int) q.dir);
7633 struct block *gen_acode(eaddr, q) in gen_acode() argument
7635 struct qual q;
7642 if ((q.addr == Q_HOST || q.addr == Q_DEFAULT) && q.proto == Q_LINK)
7643 return (gen_ahostop(eaddr, (int) q.dir));