@@ -547,77 +547,77 @@ version (CRuntime_Glibc)
547547 }
548548
549549 // macros
550- extern (D ) int IN6_IS_ADDR_UNSPECIFIED ()(const scope in6_addr* add ) pure
550+ extern (D ) int IN6_IS_ADDR_UNSPECIFIED ()(const scope in6_addr* addr ) pure
551551 {
552552 return (cast (uint32_t * ) addr)[0 ] == 0 &&
553553 (cast (uint32_t * ) addr)[1 ] == 0 &&
554554 (cast (uint32_t * ) addr)[2 ] == 0 &&
555555 (cast (uint32_t * ) addr)[3 ] == 0 ;
556556 }
557557
558- extern (D ) int IN6_IS_ADDR_LOOPBACK ()(const scope in6_addr* add ) pure
558+ extern (D ) int IN6_IS_ADDR_LOOPBACK ()(const scope in6_addr* addr ) pure
559559 {
560560 return (cast (uint32_t * ) addr)[0 ] == 0 &&
561561 (cast (uint32_t * ) addr)[1 ] == 0 &&
562562 (cast (uint32_t * ) addr)[2 ] == 0 &&
563563 (cast (uint32_t * ) addr)[3 ] == htonl( 1 );
564564 }
565565
566- extern (D ) int IN6_IS_ADDR_MULTICAST ()(const scope in6_addr* add ) pure
566+ extern (D ) int IN6_IS_ADDR_MULTICAST ()(const scope in6_addr* addr ) pure
567567 {
568568 return (cast (uint8_t * ) addr)[0 ] == 0xff ;
569569 }
570570
571- extern (D ) int IN6_IS_ADDR_LINKLOCAL ()(const scope in6_addr* add ) pure
571+ extern (D ) int IN6_IS_ADDR_LINKLOCAL ()(const scope in6_addr* addr ) pure
572572 {
573573 return ((cast (uint32_t * ) addr)[0 ] & htonl( 0xffc00000 )) == htonl( 0xfe800000 );
574574 }
575575
576- extern (D ) int IN6_IS_ADDR_SITELOCAL ()(const scope in6_addr* add ) pure
576+ extern (D ) int IN6_IS_ADDR_SITELOCAL ()(const scope in6_addr* addr ) pure
577577 {
578578 return ((cast (uint32_t * ) addr)[0 ] & htonl( 0xffc00000 )) == htonl( 0xfec00000 );
579579 }
580580
581- extern (D ) int IN6_IS_ADDR_V4MAPPED ()(const scope in6_addr* add ) pure
581+ extern (D ) int IN6_IS_ADDR_V4MAPPED ()(const scope in6_addr* addr ) pure
582582 {
583583 return (cast (uint32_t * ) addr)[0 ] == 0 &&
584584 (cast (uint32_t * ) addr)[1 ] == 0 &&
585585 (cast (uint32_t * ) addr)[2 ] == htonl( 0xffff );
586586 }
587587
588- extern (D ) int IN6_IS_ADDR_V4COMPAT ()(const scope in6_addr* add ) pure
588+ extern (D ) int IN6_IS_ADDR_V4COMPAT ()(const scope in6_addr* addr ) pure
589589 {
590590 return (cast (uint32_t * ) addr)[0 ] == 0 &&
591591 (cast (uint32_t * ) addr)[1 ] == 0 &&
592592 (cast (uint32_t * ) addr)[2 ] == 0 &&
593593 ntohl( (cast (uint32_t * ) addr)[3 ] ) > 1 ;
594594 }
595595
596- extern (D ) int IN6_IS_ADDR_MC_NODELOCAL ()(const scope in6_addr* add ) pure
596+ extern (D ) int IN6_IS_ADDR_MC_NODELOCAL ()(const scope in6_addr* addr ) pure
597597 {
598598 return IN6_IS_ADDR_MULTICAST ( addr ) &&
599599 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x1 ;
600600 }
601601
602- extern (D ) int IN6_IS_ADDR_MC_LINKLOCAL ()(const scope in6_addr* add ) pure
602+ extern (D ) int IN6_IS_ADDR_MC_LINKLOCAL ()(const scope in6_addr* addr ) pure
603603 {
604604 return IN6_IS_ADDR_MULTICAST ( addr ) &&
605605 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x2 ;
606606 }
607607
608- extern (D ) int IN6_IS_ADDR_MC_SITELOCAL ()(const scope in6_addr* add ) pure
608+ extern (D ) int IN6_IS_ADDR_MC_SITELOCAL ()(const scope in6_addr* addr ) pure
609609 {
610610 return IN6_IS_ADDR_MULTICAST (addr) &&
611611 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x5 ;
612612 }
613613
614- extern (D ) int IN6_IS_ADDR_MC_ORGLOCAL ()(const scope in6_addr* add ) pure
614+ extern (D ) int IN6_IS_ADDR_MC_ORGLOCAL ()(const scope in6_addr* addr ) pure
615615 {
616616 return IN6_IS_ADDR_MULTICAST ( addr) &&
617617 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x8 ;
618618 }
619619
620- extern (D ) int IN6_IS_ADDR_MC_GLOBAL ()(const scope in6_addr* add ) pure
620+ extern (D ) int IN6_IS_ADDR_MC_GLOBAL ()(const scope in6_addr* addr ) pure
621621 {
622622 return IN6_IS_ADDR_MULTICAST ( addr ) &&
623623 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0xe ;
@@ -670,45 +670,45 @@ else version (Darwin)
670670 }
671671
672672 // macros
673- extern (D ) int IN6_IS_ADDR_UNSPECIFIED ()(const scope in6_addr* add ) pure
673+ extern (D ) int IN6_IS_ADDR_UNSPECIFIED ()(const scope in6_addr* addr ) pure
674674 {
675675 return (cast (uint32_t * ) addr)[0 ] == 0 &&
676676 (cast (uint32_t * ) addr)[1 ] == 0 &&
677677 (cast (uint32_t * ) addr)[2 ] == 0 &&
678678 (cast (uint32_t * ) addr)[3 ] == 0 ;
679679 }
680680
681- extern (D ) int IN6_IS_ADDR_LOOPBACK ()(const scope in6_addr* add ) pure
681+ extern (D ) int IN6_IS_ADDR_LOOPBACK ()(const scope in6_addr* addr ) pure
682682 {
683683 return (cast (uint32_t * ) addr)[0 ] == 0 &&
684684 (cast (uint32_t * ) addr)[1 ] == 0 &&
685685 (cast (uint32_t * ) addr)[2 ] == 0 &&
686686 (cast (uint32_t * ) addr)[3 ] == ntohl( 1 );
687687 }
688688
689- extern (D ) int IN6_IS_ADDR_MULTICAST ()(const scope in6_addr* add ) pure
689+ extern (D ) int IN6_IS_ADDR_MULTICAST ()(const scope in6_addr* addr ) pure
690690 {
691691 return addr.s6_addr[0 ] == 0xff ;
692692 }
693693
694- extern (D ) int IN6_IS_ADDR_LINKLOCAL ()(const scope in6_addr* add ) pure
694+ extern (D ) int IN6_IS_ADDR_LINKLOCAL ()(const scope in6_addr* addr ) pure
695695 {
696696 return addr.s6_addr[0 ] == 0xfe && (addr.s6_addr[1 ] & 0xc0 ) == 0x80 ;
697697 }
698698
699- extern (D ) int IN6_IS_ADDR_SITELOCAL ()(const scope in6_addr* add ) pure
699+ extern (D ) int IN6_IS_ADDR_SITELOCAL ()(const scope in6_addr* addr ) pure
700700 {
701701 return addr.s6_addr[0 ] == 0xfe && (addr.s6_addr[1 ] & 0xc0 ) == 0xc0 ;
702702 }
703703
704- extern (D ) int IN6_IS_ADDR_V4MAPPED ()(const scope in6_addr* add ) pure
704+ extern (D ) int IN6_IS_ADDR_V4MAPPED ()(const scope in6_addr* addr ) pure
705705 {
706706 return (cast (uint32_t * ) addr)[0 ] == 0 &&
707707 (cast (uint32_t * ) addr)[1 ] == 0 &&
708708 (cast (uint32_t * ) addr)[2 ] == ntohl( 0x0000ffff );
709709 }
710710
711- extern (D ) int IN6_IS_ADDR_V4COMPAT ()(const scope in6_addr* add ) pure
711+ extern (D ) int IN6_IS_ADDR_V4COMPAT ()(const scope in6_addr* addr ) pure
712712 {
713713 return (cast (uint32_t * ) addr)[0 ] == 0 &&
714714 (cast (uint32_t * ) addr)[1 ] == 0 &&
@@ -717,31 +717,31 @@ else version (Darwin)
717717 (cast (uint32_t * ) addr)[3 ] != ntohl( 1 );
718718 }
719719
720- extern (D ) int IN6_IS_ADDR_MC_NODELOCAL ()(const scope in6_addr* add ) pure
720+ extern (D ) int IN6_IS_ADDR_MC_NODELOCAL ()(const scope in6_addr* addr ) pure
721721 {
722722 return IN6_IS_ADDR_MULTICAST ( addr ) &&
723723 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x1 ;
724724 }
725725
726- extern (D ) int IN6_IS_ADDR_MC_LINKLOCAL ()(const scope in6_addr* add ) pure
726+ extern (D ) int IN6_IS_ADDR_MC_LINKLOCAL ()(const scope in6_addr* addr ) pure
727727 {
728728 return IN6_IS_ADDR_MULTICAST ( addr ) &&
729729 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x2 ;
730730 }
731731
732- extern (D ) int IN6_IS_ADDR_MC_SITELOCAL ()(const scope in6_addr* add ) pure
732+ extern (D ) int IN6_IS_ADDR_MC_SITELOCAL ()(const scope in6_addr* addr ) pure
733733 {
734734 return IN6_IS_ADDR_MULTICAST (addr) &&
735735 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x5 ;
736736 }
737737
738- extern (D ) int IN6_IS_ADDR_MC_ORGLOCAL ()(const scope in6_addr* add ) pure
738+ extern (D ) int IN6_IS_ADDR_MC_ORGLOCAL ()(const scope in6_addr* addr ) pure
739739 {
740740 return IN6_IS_ADDR_MULTICAST ( addr) &&
741741 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0x8 ;
742742 }
743743
744- extern (D ) int IN6_IS_ADDR_MC_GLOBAL ()(const scope in6_addr* add ) pure
744+ extern (D ) int IN6_IS_ADDR_MC_GLOBAL ()(const scope in6_addr* addr ) pure
745745 {
746746 return IN6_IS_ADDR_MULTICAST ( addr ) &&
747747 ((cast (uint8_t * ) addr)[1 ] & 0xf ) == 0xe ;
0 commit comments