Searched refs:api_version (Results 1 - 3 of 3) sorted by relevance
/xnu-2782.1.97/bsd/netinet/ |
H A D | ip_fw2_compat.h | 7 void ipfw_convert_from_latest(struct ip_fw *curr_rule, void *old_rule, u_int32_t api_version, int is64user); 8 int ipfw_convert_to_latest(struct sockopt *sopt, struct ip_fw *rule, int api_version, int is64user); 9 int ipfw_get_command_and_version(struct sockopt *sopt, int *command, u_int32_t *api_version);
|
H A D | ip_fw2.c | 3473 u_int32_t api_version; local 3504 error = ipfw_get_command_and_version(&tmp_sopt, &command, &api_version); 3645 if (api_version == IP_FW_VERSION_0) { 3663 ipfw_convert_from_latest(bp, rule_vers0, api_version, is64user); 3672 } else if (api_version == IP_FW_VERSION_1) { 3705 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3710 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3769 if (api_version != IP_FW_CURRENT_API_VERSION) { 3770 error = ipfw_convert_to_latest(sopt, rule, api_version, is64user); 3779 if ((api_version [all...] |
H A D | ip_fw2_compat.c | 246 print_fw_version(u_int32_t api_version) 248 switch (api_version) { 1629 ipfw_convert_from_latest(struct ip_fw *curr_rule, void *old_rule, u_int32_t api_version, int is64user) argument 1631 switch (api_version) { 3221 ipfw_convert_to_latest(struct sockopt *sopt, struct ip_fw *curr_rule, int api_version, int is64user) argument 3228 switch (api_version) { 3257 ipfw_get_command_and_version(struct sockopt *sopt, int *command, u_int32_t *api_version) argument 3316 if (api_version) { 3317 *api_version = vers;
|
Completed in 38 milliseconds