Home
last modified time | relevance | path

Searched refs:hack_restrict (Results 1 – 8 of 8) sorted by relevance

/freebsd-9-stable/contrib/ntp/tests/ntpd/
Dntp_restrict.c110 hack_restrict(RESTRICT_FLAGS, &resaddr, &resmask, 0, flags, 0); in test_HackingDefaultRestriction()
124 hack_restrict(RESTRICT_REMOVE, &resaddr, &resmask, 0, 0, 0); in test_CantRemoveDefaultEntry()
137 hack_restrict(RESTRICT_FLAGS, &resaddr, &resmask, 0, flags, 0); in test_AddingNewRestriction()
157 hack_restrict(RESTRICT_FLAGS, &resaddr_not_matching, &resmask_not_matching, 0, 11, 0); in test_TheMostFittingRestrictionIsMatched()
158 hack_restrict(RESTRICT_FLAGS, &resaddr_best_match, &resmask_best_match, 0, 22, 0); in test_TheMostFittingRestrictionIsMatched()
159 hack_restrict(RESTRICT_FLAGS, &resaddr_second_match, &resmask_second_match, 0, 128, 0); in test_TheMostFittingRestrictionIsMatched()
178 hack_restrict(RESTRICT_FLAGS, &resaddr_not_matching, &resmask_not_matching, 0, 11, 0); in test_DeletedRestrictionIsNotMatched()
179 hack_restrict(RESTRICT_FLAGS, &resaddr_best_match, &resmask_best_match, 0, 22, 0); in test_DeletedRestrictionIsNotMatched()
180 hack_restrict(RESTRICT_FLAGS, &resaddr_second_match, &resmask_second_match, 0, 128, 0); in test_DeletedRestrictionIsNotMatched()
183 hack_restrict(RESTRICT_REMOVE, &resaddr_best_match, &resmask_best_match, 0, 22, 0); in test_DeletedRestrictionIsNotMatched()
[all …]
/freebsd-9-stable/contrib/ntp/ntpd/
Dntp_restrict.c483 hack_restrict( in hack_restrict() function
641 hack_restrict(RESTRICT_REMOVE, addr, &onesmask, in restrict_source()
674 hack_restrict(RESTRICT_FLAGS, addr, &onesmask, in restrict_source()
Dntp_config.c2518 hack_restrict(RESTRICT_FLAGS, NULL, in config_access()
2588 hack_restrict(RESTRICT_FLAGS, &addr, in config_access()
2595 hack_restrict(RESTRICT_FLAGS, &addr, in config_access()
Dntp_io.c1041 hack_restrict(RESTRICT_REMOVEIF, &ep->sin, &resmask, in remove_interface()
2091 hack_restrict(RESTRICT_FLAGS, &iface->sin, &resmask, in create_interface()
Dntp_request.c1851 hack_restrict(op, &matchaddr, &matchmask, cr.mflags, in do_restrict()
/freebsd-9-stable/contrib/ntp/include/
Dntpd.h261 extern void hack_restrict (int, sockaddr_u *, sockaddr_u *,
/freebsd-9-stable/contrib/ntp/
DCommitLog-4.1.06108 * ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
DCommitLog141772 DPRINTF args to hack_restrict() for v6 as well as v4 addresses.