Lines Matching refs:AF_INET
146 if (net_pkt_family(pkt) == AF_INET) { in interface_send()
196 } else if (IS_ENABLED(CONFIG_NET_IPV4) && ctx->family == AF_INET) { in interface_send()
199 AF_INET, IPPROTO_IP, in interface_send()
247 net_pkt_set_family(pkt, AF_INET); in interface_send()
276 if (ctx->family == AF_INET) { in verify_remote_addr()
311 net_pkt_set_family(pkt, AF_INET); in interface_recv()
380 if (IS_ENABLED(CONFIG_NET_IPV4) && net_pkt_family(pkt) == AF_INET) { in interface_recv()
491 if (IS_ENABLED(CONFIG_NET_IPV4) && config->family == AF_INET) { in interface_set_config()
497 addr_str = net_addr_ntop(AF_INET, &ctx->peer.in_addr, in interface_set_config()
500 ctx->family = AF_INET; in interface_set_config()
582 ctx->family == AF_INET) { in interface_get_config()