The reconcile package is used for DOM reconcilation in Isomorphic Go web applications.

defs_solaris.go 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // Copyright 2014 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build ignore
  5. // +godefs map struct_in_addr [4]byte /* in_addr */
  6. package ipv4
  7. /*
  8. #include <sys/socket.h>
  9. #include <netinet/in.h>
  10. */
  11. import "C"
  12. const (
  13. sysIP_OPTIONS = C.IP_OPTIONS
  14. sysIP_HDRINCL = C.IP_HDRINCL
  15. sysIP_TOS = C.IP_TOS
  16. sysIP_TTL = C.IP_TTL
  17. sysIP_RECVOPTS = C.IP_RECVOPTS
  18. sysIP_RECVRETOPTS = C.IP_RECVRETOPTS
  19. sysIP_RECVDSTADDR = C.IP_RECVDSTADDR
  20. sysIP_RETOPTS = C.IP_RETOPTS
  21. sysIP_RECVIF = C.IP_RECVIF
  22. sysIP_RECVSLLA = C.IP_RECVSLLA
  23. sysIP_RECVTTL = C.IP_RECVTTL
  24. sysIP_MULTICAST_IF = C.IP_MULTICAST_IF
  25. sysIP_MULTICAST_TTL = C.IP_MULTICAST_TTL
  26. sysIP_MULTICAST_LOOP = C.IP_MULTICAST_LOOP
  27. sysIP_ADD_MEMBERSHIP = C.IP_ADD_MEMBERSHIP
  28. sysIP_DROP_MEMBERSHIP = C.IP_DROP_MEMBERSHIP
  29. sysIP_BLOCK_SOURCE = C.IP_BLOCK_SOURCE
  30. sysIP_UNBLOCK_SOURCE = C.IP_UNBLOCK_SOURCE
  31. sysIP_ADD_SOURCE_MEMBERSHIP = C.IP_ADD_SOURCE_MEMBERSHIP
  32. sysIP_DROP_SOURCE_MEMBERSHIP = C.IP_DROP_SOURCE_MEMBERSHIP
  33. sysIP_NEXTHOP = C.IP_NEXTHOP
  34. sysIP_PKTINFO = C.IP_PKTINFO
  35. sysIP_RECVPKTINFO = C.IP_RECVPKTINFO
  36. sysIP_DONTFRAG = C.IP_DONTFRAG
  37. sysIP_BOUND_IF = C.IP_BOUND_IF
  38. sysIP_UNSPEC_SRC = C.IP_UNSPEC_SRC
  39. sysIP_BROADCAST_TTL = C.IP_BROADCAST_TTL
  40. sysIP_DHCPINIT_IF = C.IP_DHCPINIT_IF
  41. sysIP_REUSEADDR = C.IP_REUSEADDR
  42. sysIP_DONTROUTE = C.IP_DONTROUTE
  43. sysIP_BROADCAST = C.IP_BROADCAST
  44. sysMCAST_JOIN_GROUP = C.MCAST_JOIN_GROUP
  45. sysMCAST_LEAVE_GROUP = C.MCAST_LEAVE_GROUP
  46. sysMCAST_BLOCK_SOURCE = C.MCAST_BLOCK_SOURCE
  47. sysMCAST_UNBLOCK_SOURCE = C.MCAST_UNBLOCK_SOURCE
  48. sysMCAST_JOIN_SOURCE_GROUP = C.MCAST_JOIN_SOURCE_GROUP
  49. sysMCAST_LEAVE_SOURCE_GROUP = C.MCAST_LEAVE_SOURCE_GROUP
  50. sizeofSockaddrStorage = C.sizeof_struct_sockaddr_storage
  51. sizeofSockaddrInet = C.sizeof_struct_sockaddr_in
  52. sizeofInetPktinfo = C.sizeof_struct_in_pktinfo
  53. sizeofIPMreq = C.sizeof_struct_ip_mreq
  54. sizeofIPMreqSource = C.sizeof_struct_ip_mreq_source
  55. sizeofGroupReq = C.sizeof_struct_group_req
  56. sizeofGroupSourceReq = C.sizeof_struct_group_source_req
  57. )
  58. type sockaddrStorage C.struct_sockaddr_storage
  59. type sockaddrInet C.struct_sockaddr_in
  60. type inetPktinfo C.struct_in_pktinfo
  61. type ipMreq C.struct_ip_mreq
  62. type ipMreqSource C.struct_ip_mreq_source
  63. type groupReq C.struct_group_req
  64. type groupSourceReq C.struct_group_source_req