Searched refs:api_version (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/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 | 3394 u_int32_t api_version; local 3425 error = ipfw_get_command_and_version(&tmp_sopt, &command, &api_version); 3566 if (api_version == IP_FW_VERSION_0) { 3584 ipfw_convert_from_latest(bp, rule_vers0, api_version, is64user); 3593 } else if (api_version == IP_FW_VERSION_1) { 3626 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3631 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3690 if (api_version != IP_FW_CURRENT_API_VERSION) { 3691 error = ipfw_convert_to_latest(sopt, rule, api_version, is64user); 3700 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 22 milliseconds