XFRM_MSG_BASE 222 include/uapi/linux/xfrm.h #define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE) XFRM_MSG_BASE 2533 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info), XFRM_MSG_BASE 2534 net/xfrm/xfrm_user.c [XFRM_MSG_DELSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id), XFRM_MSG_BASE 2535 net/xfrm/xfrm_user.c [XFRM_MSG_GETSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_id), XFRM_MSG_BASE 2536 net/xfrm/xfrm_user.c [XFRM_MSG_NEWPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info), XFRM_MSG_BASE 2537 net/xfrm/xfrm_user.c [XFRM_MSG_DELPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 2538 net/xfrm/xfrm_user.c [XFRM_MSG_GETPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 2539 net/xfrm/xfrm_user.c [XFRM_MSG_ALLOCSPI - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userspi_info), XFRM_MSG_BASE 2540 net/xfrm/xfrm_user.c [XFRM_MSG_ACQUIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_acquire), XFRM_MSG_BASE 2541 net/xfrm/xfrm_user.c [XFRM_MSG_EXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_expire), XFRM_MSG_BASE 2542 net/xfrm/xfrm_user.c [XFRM_MSG_UPDPOLICY - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_info), XFRM_MSG_BASE 2543 net/xfrm/xfrm_user.c [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_info), XFRM_MSG_BASE 2544 net/xfrm/xfrm_user.c [XFRM_MSG_POLEXPIRE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_polexpire), XFRM_MSG_BASE 2545 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHSA - XFRM_MSG_BASE] = XMSGSIZE(xfrm_usersa_flush), XFRM_MSG_BASE 2546 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHPOLICY - XFRM_MSG_BASE] = 0, XFRM_MSG_BASE 2547 net/xfrm/xfrm_user.c [XFRM_MSG_NEWAE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_aevent_id), XFRM_MSG_BASE 2548 net/xfrm/xfrm_user.c [XFRM_MSG_GETAE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_aevent_id), XFRM_MSG_BASE 2549 net/xfrm/xfrm_user.c [XFRM_MSG_REPORT - XFRM_MSG_BASE] = XMSGSIZE(xfrm_user_report), XFRM_MSG_BASE 2550 net/xfrm/xfrm_user.c [XFRM_MSG_MIGRATE - XFRM_MSG_BASE] = XMSGSIZE(xfrm_userpolicy_id), XFRM_MSG_BASE 2551 net/xfrm/xfrm_user.c [XFRM_MSG_GETSADINFO - XFRM_MSG_BASE] = sizeof(u32), XFRM_MSG_BASE 2552 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSPDINFO - XFRM_MSG_BASE] = sizeof(u32), XFRM_MSG_BASE 2553 net/xfrm/xfrm_user.c [XFRM_MSG_GETSPDINFO - XFRM_MSG_BASE] = sizeof(u32), XFRM_MSG_BASE 2604 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSA - XFRM_MSG_BASE] = { .doit = xfrm_add_sa }, XFRM_MSG_BASE 2605 net/xfrm/xfrm_user.c [XFRM_MSG_DELSA - XFRM_MSG_BASE] = { .doit = xfrm_del_sa }, XFRM_MSG_BASE 2606 net/xfrm/xfrm_user.c [XFRM_MSG_GETSA - XFRM_MSG_BASE] = { .doit = xfrm_get_sa, XFRM_MSG_BASE 2609 net/xfrm/xfrm_user.c [XFRM_MSG_NEWPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_add_policy }, XFRM_MSG_BASE 2610 net/xfrm/xfrm_user.c [XFRM_MSG_DELPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_get_policy }, XFRM_MSG_BASE 2611 net/xfrm/xfrm_user.c [XFRM_MSG_GETPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_get_policy, XFRM_MSG_BASE 2615 net/xfrm/xfrm_user.c [XFRM_MSG_ALLOCSPI - XFRM_MSG_BASE] = { .doit = xfrm_alloc_userspi }, XFRM_MSG_BASE 2616 net/xfrm/xfrm_user.c [XFRM_MSG_ACQUIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_acquire }, XFRM_MSG_BASE 2617 net/xfrm/xfrm_user.c [XFRM_MSG_EXPIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_sa_expire }, XFRM_MSG_BASE 2618 net/xfrm/xfrm_user.c [XFRM_MSG_UPDPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_add_policy }, XFRM_MSG_BASE 2619 net/xfrm/xfrm_user.c [XFRM_MSG_UPDSA - XFRM_MSG_BASE] = { .doit = xfrm_add_sa }, XFRM_MSG_BASE 2620 net/xfrm/xfrm_user.c [XFRM_MSG_POLEXPIRE - XFRM_MSG_BASE] = { .doit = xfrm_add_pol_expire}, XFRM_MSG_BASE 2621 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHSA - XFRM_MSG_BASE] = { .doit = xfrm_flush_sa }, XFRM_MSG_BASE 2622 net/xfrm/xfrm_user.c [XFRM_MSG_FLUSHPOLICY - XFRM_MSG_BASE] = { .doit = xfrm_flush_policy }, XFRM_MSG_BASE 2623 net/xfrm/xfrm_user.c [XFRM_MSG_NEWAE - XFRM_MSG_BASE] = { .doit = xfrm_new_ae }, XFRM_MSG_BASE 2624 net/xfrm/xfrm_user.c [XFRM_MSG_GETAE - XFRM_MSG_BASE] = { .doit = xfrm_get_ae }, XFRM_MSG_BASE 2625 net/xfrm/xfrm_user.c [XFRM_MSG_MIGRATE - XFRM_MSG_BASE] = { .doit = xfrm_do_migrate }, XFRM_MSG_BASE 2626 net/xfrm/xfrm_user.c [XFRM_MSG_GETSADINFO - XFRM_MSG_BASE] = { .doit = xfrm_get_sadinfo }, XFRM_MSG_BASE 2627 net/xfrm/xfrm_user.c [XFRM_MSG_NEWSPDINFO - XFRM_MSG_BASE] = { .doit = xfrm_set_spdinfo, XFRM_MSG_BASE 2630 net/xfrm/xfrm_user.c [XFRM_MSG_GETSPDINFO - XFRM_MSG_BASE] = { .doit = xfrm_get_spdinfo }, XFRM_MSG_BASE 2648 net/xfrm/xfrm_user.c type -= XFRM_MSG_BASE; XFRM_MSG_BASE 2655 net/xfrm/xfrm_user.c if ((type == (XFRM_MSG_GETSA - XFRM_MSG_BASE) || XFRM_MSG_BASE 2656 net/xfrm/xfrm_user.c type == (XFRM_MSG_GETPOLICY - XFRM_MSG_BASE)) &&