X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2Fhsyscalls.i4;fp=regress%2Fhsyscalls.i4;h=35684c895c6a2d333c5d7da7ba2835b24b5b4170;hb=5c6cd9e070869430d1833751512d47300599f54c;hp=ad90104c7e6f4b1eae75376aa66259f9dce40159;hpb=84ada014b1bf2cf7e5a38320be7371dbbf91bb23;p=adns.git diff --git a/regress/hsyscalls.i4 b/regress/hsyscalls.i4 index ad90104..35684c8 100644 --- a/regress/hsyscalls.i4 +++ b/regress/hsyscalls.i4 @@ -38,6 +38,7 @@ m4_dnl hm_arg_fdset_io(,) fd_set, max bit set is in max m4_dnl hm_arg_timeval_in_rel_null() struct timeval*, pass in, relative, may be null m4_dnl hm_arg_must(,,) must have correct value, or abort test m4_dnl hm_arg_socktype() SOCK_STREAM or SOCK_DGRAM (an int) +m4_dnl hm_arg_addrfam() a supported address family m4_dnl hm_arg_ign(,) input parameter ignored m4_dnl hm_arg_fd() fd m4_dnl hm_arg_fcntl_cmd_arg(,) syscall is fcntl, do special processing @@ -70,7 +71,7 @@ hm_syscall( hm_syscall( socket, `hm_rv_fd', ` - hm_arg_must(int,domain,AF_INET) hm_na + hm_arg_addrfam(domain) hm_na hm_arg_socktype(type) hm_na hm_arg_ign(int,protocol) hm_na ')