Lines Matching defs:v4
3893 * Sets the first prefix_len bits in the v4 or v6 address (based upon af)
6466 int inv6, /* if saddr or daddr set and v4 filter are they in v6 addr */
7024 * to both v4 and v6 addresses.
7041 int v4 = 1, v6 = 1; /* default lookup family is v4 and v6 */
7061 v4 = VERSION_IS_V4(filter);
7071 v4--;
7079 /* v4 only address */
7081 if (v4 && !v6) {
7088 } else if (v6 && !v4) {
7092 /* v4 and v6 */
7094 } else if (v6 && v4) {
7133 /* v4 only address */
7135 if (v4 && !v6) {
7142 } else if (v6 && !v4) {
7146 /* v6 and v4 addresses */
7319 int v4 = 0, v6 = 0;
7474 v4 = IN6_IS_ADDR_V4MAPPED(&v6addr);
7475 if (!v4) {
7485 if (v4 && b != IPGPC_V4_FLTR ||
7500 if (v4 && !VERSION_IS_V4(*filter) ||
7514 v4 ? IPGPC_V4_FLTR : IPGPC_V6_FLTR);
7541 v4 && mlen > 32 ||
7542 !v4 && mlen > 128 ||
7550 v4 ? AF_INET : AF_INET6);
7621 if (v4 && !VERSION_IS_V4(*filter) ||