Searched refs:fw_add_masquerade (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-firewall-util.c | 30 assert_se(fw_add_masquerade(&ctx, true, AF_INET6, &u1, 128) >= 0); in test_v6() 31 assert_se(fw_add_masquerade(&ctx, false, AF_INET6, &u1, 128) >= 0); in test_v6() 32 assert_se(fw_add_masquerade(&ctx, true, AF_INET6, &u1, 64) >= 0); in test_v6() 33 assert_se(fw_add_masquerade(&ctx, false, AF_INET6, &u1, 64) >= 0); in test_v6() 34 assert_se(fw_add_masquerade(&ctx, true, AF_INET6, &u3, prefixlen) >= 0); in test_v6() 35 assert_se(fw_add_masquerade(&ctx, false, AF_INET6, &u3, prefixlen) >= 0); in test_v6() 71 assert_se(fw_add_masquerade(&ctx, true, AF_INET, NULL, 0) == -EINVAL); in test_v4() 72 assert_se(fw_add_masquerade(&ctx, true, AF_INET, parse_addr("10.1.2.0", &u), 0) == -EINVAL); in test_v4() 74 r = fw_add_masquerade(&ctx, true, AF_INET, parse_addr("10.1.2.3", &u), 32); in test_v4() 87 assert_se(fw_add_masquerade(&ctx, true, AF_INET, parse_addr("10.0.2.0", &u), 28) >= 0); in test_v4() [all …]
|
/systemd-251/src/shared/ |
D | firewall-util.h | 16 int fw_add_masquerade(
|
D | firewall-util.c | 70 int fw_add_masquerade( in fw_add_masquerade() function
|
/systemd-251/src/network/ |
D | networkd-address.c | 442 …r = fw_add_masquerade(&address->link->manager->fw_ctx, add, address->family, &masked, address->pre… in address_set_masquerade()
|