Network neighbor configuration?

Is the network neighbor configuration that's available in netifd via uci documented somewhere? (They add permanent entries into the neighbor tables as you expect.)
Both network neighbor (IPv4) and network neighbor6 (IPv6) are supported with the following attributes:

static const struct blobmsg_policy neighbor_attr[__NEIGHBOR_MAX]={
        [NEIGHBOR_INTERFACE]= { .name = "interface", .type = BLOBMSG_TYPE_STRING},
        [NEIGHBOR_ADDRESS]= { .name = "ipaddr", .type = BLOBMSG_TYPE_STRING},
        [NEIGHBOR_MAC]= { .name = "mac", .type = BLOBMSG_TYPE_STRING},
        [NEIGHBOR_PROXY]= { .name = "proxy", .type = BLOBMSG_TYPE_BOOL},
        [NEIGHBOR_ROUTER]= {.name = "router", .type = BLOBMSG_TYPE_BOOL},
};
1 Like