#!/bin/bash

source ./kernel_config_utils.sh

af_packet_check() {
    is_error=false
    if ! kernel_config_check CONFIG_PACKET af_packet; then
        is_error=true
    fi
    if ! kernel_config_check CONFIG_PACKET_DIAG; then
        is_error=true
    fi
    if [ "$is_error" == "true" ]; then
        return 1
    fi

    return 0
}

