Lines Matching refs:remove
463 #define remove(version, mem, ipa, ipb, ipc, ipd, cidr) \
600 /* Must be an exact match to remove */
601 remove(4, a, 192, 0, 0, 0, 32);
604 test_boolean(!remove(4, NULL, 192, 0, 0, 0, 24));
607 test_boolean(!remove(4, b, 192, 0, 0, 0, 24));
610 test_boolean(remove(4, b, 192, 0, 0, 0, 33) == -EINVAL);
612 remove(4, a, 192, 0, 0, 0, 24);
614 remove(4, a, 1, 0, 0, 0, 32);
616 /* Must be an exact match to remove */
617 remove(6, a, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 96);
620 test_boolean(!remove(6, NULL, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 128));
623 test_boolean(!remove(6, b, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 128));
626 test_boolean(remove(6, a, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 129) == -EINVAL);
628 remove(6, a, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 128);
630 /* Must match the peer to remove */
631 remove(6, b, 0x24446800, 0xf0e40800, 0xeeaebeef, 0, 98);
633 remove(6, a, 0x24446800, 0xf0e40800, 0xeeaebeef, 0, 98);
723 #undef remove