Home
last modified time | relevance | path

Searched refs:GET_CMDID (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_ctl.c2553 #define GET_CMDID(cmd) (cmd - IP_VS_BASE_CTL) macro
2561 static const unsigned char get_arglen[GET_CMDID(IP_VS_SO_GET_MAX)+1] = {
2562 [GET_CMDID(IP_VS_SO_GET_VERSION)] = 64,
2563 [GET_CMDID(IP_VS_SO_GET_INFO)] = GET_INFO_ARG_LEN,
2564 [GET_CMDID(IP_VS_SO_GET_SERVICES)] = GET_SERVICES_ARG_LEN,
2565 [GET_CMDID(IP_VS_SO_GET_SERVICE)] = GET_SERVICE_ARG_LEN,
2566 [GET_CMDID(IP_VS_SO_GET_DESTS)] = GET_DESTS_ARG_LEN,
2567 [GET_CMDID(IP_VS_SO_GET_TIMEOUT)] = GET_TIMEOUT_ARG_LEN,
2568 [GET_CMDID(IP_VS_SO_GET_DAEMON)] = GET_DAEMON_ARG_LEN,
2587 if (*len < get_arglen[GET_CMDID(cmd)]) { in do_ip_vs_get_ctl()
[all …]