XFRM_MSG_BASE 206 include/linux/xfrm.h #define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE) XFRM_MSG_BASE 1896 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info), XFRM_MSG_BASE 1897 net/xfrm/xfrm_user.c [XFRM_MSG_DELSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id), XFRM_MSG_BASE 1898 net/xfrm/xfrm_user.c [XFRM_MSG_GETSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id), XFRM_MSG_BASE 1899 net/xfrm/xfrm_user.c [XFRM_MSG_NEWPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info), XFRM_MSG_BASE 1900 net/xfrm/xfrm_user.c [XFRM_MSG_DELPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 1901 net/xfrm/xfrm_user.c [XFRM_MSG_GETPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 1902 net/xfrm/xfrm_user.c [XFRM_MSG_ALLOCSPI - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userspi_info), XFRM_MSG_BASE 1903 net/xfrm/xfrm_user.c [XFRM_MSG_ACQUIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_acquire), XFRM_MSG_BASE 1904 net/xfrm/xfrm_user.c [XFRM_MSG_EXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_expire), XFRM_MSG_BASE 1905 net/xfrm/xfrm_user.c [XFRM_MSG_UPDPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info), XFRM_MSG_BASE 1906 net/xfrm/xfrm_user.c [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info), XFRM_MSG_BASE 1907 net/xfrm/xfrm_user.c [XFRM_MSG_POLEXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_polexpire), XFRM_MSG_BASE 1908 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_flush), XFRM_MSG_BASE 1909 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHPOLICY - XFRM_MSG_BASE] = 0, XFRM_MSG_BASE 1910 net/xfrm/xfrm_user.c [XFRM_MSG_NEWAE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_aevent_id), XFRM_MSG_BASE 1911 net/xfrm/xfrm_user.c [XFRM_MSG_GETAE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_aevent_id), XFRM_MSG_BASE 1912 net/xfrm/xfrm_user.c [XFRM_MSG_REPORT - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_report), XFRM_MSG_BASE 1913 net/xfrm/xfrm_user.c [XFRM_MSG_MIGRATE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 1914 net/xfrm/xfrm_user.c [XFRM_MSG_GETSADINFO - XFRM_MSG_BASE] = sizeof(u32), XFRM_MSG_BASE 1915 net/xfrm/xfrm_user.c [XFRM_MSG_GETSPDINFO - XFRM_MSG_BASE] = sizeof(u32), XFRM_MSG_BASE 1944 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = { .doit = xfrm_add_sa }, XFRM_MSG_BASE 1945 net/xfrm/xfrm_user.c [XFRM_MSG_DELSA - XFRM_MSG_BASE] = { .doit = xfrm_del_sa }, XFRM_MSG_BASE 1946 net/xfrm/xfrm_user.c [XFRM_MSG_GETSA - XFRM_MSG_BASE] = { .doit = xfrm_get_sa, XFRM_MSG_BASE 1949 net/xfrm/xfrm_user.c [XFRM_MSG_NEWPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_add_policy }, XFRM_MSG_BASE 1950 net/xfrm/xfrm_user.c [XFRM_MSG_DELPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_get_policy }, XFRM_MSG_BASE 1951 net/xfrm/xfrm_user.c [XFRM_MSG_GETPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_get_policy, XFRM_MSG_BASE 1954 net/xfrm/xfrm_user.c [XFRM_MSG_ALLOCSPI - XFRM_MSG_BASE] = { .doit = xfrm_alloc_userspi }, XFRM_MSG_BASE 1955 net/xfrm/xfrm_user.c [XFRM_MSG_ACQUIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_acquire }, XFRM_MSG_BASE 1956 net/xfrm/xfrm_user.c [XFRM_MSG_EXPIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_sa_expire }, XFRM_MSG_BASE 1957 net/xfrm/xfrm_user.c [XFRM_MSG_UPDPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_add_policy }, XFRM_MSG_BASE 1958 net/xfrm/xfrm_user.c [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = { .doit = xfrm_add_sa }, XFRM_MSG_BASE 1959 net/xfrm/xfrm_user.c [XFRM_MSG_POLEXPIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_pol_expire}, XFRM_MSG_BASE 1960 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHSA - XFRM_MSG_BASE] = { .doit = xfrm_flush_sa }, XFRM_MSG_BASE 1961 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_flush_policy }, XFRM_MSG_BASE 1962 net/xfrm/xfrm_user.c [XFRM_MSG_NEWAE - XFRM_MSG_BASE] = { .doit = xfrm_new_ae }, XFRM_MSG_BASE 1963 net/xfrm/xfrm_user.c [XFRM_MSG_GETAE - XFRM_MSG_BASE] = { .doit = xfrm_get_ae }, XFRM_MSG_BASE 1964 net/xfrm/xfrm_user.c [XFRM_MSG_MIGRATE - XFRM_MSG_BASE] = { .doit = xfrm_do_migrate }, XFRM_MSG_BASE 1965 net/xfrm/xfrm_user.c [XFRM_MSG_GETSADINFO - XFRM_MSG_BASE] = { .doit = xfrm_get_sadinfo }, XFRM_MSG_BASE 1966 net/xfrm/xfrm_user.c [XFRM_MSG_GETSPDINFO - XFRM_MSG_BASE] = { .doit = xfrm_get_spdinfo }, XFRM_MSG_BASE 1979 net/xfrm/xfrm_user.c type -= XFRM_MSG_BASE; XFRM_MSG_BASE 1986 net/xfrm/xfrm_user.c if ((type == (XFRM_MSG_GETSA - XFRM_MSG_BASE) || XFRM_MSG_BASE 1987 net/xfrm/xfrm_user.c type == (XFRM_MSG_GETPOLICY - XFRM_MSG_BASE)) &&