Skip to content

Commit f8305c4

Browse files
committed
renaming: cmsg instead of ancillary
1 parent e255097 commit f8305c4

File tree

9 files changed

+297
-293
lines changed

9 files changed

+297
-293
lines changed

Network/Socket.hs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -214,24 +214,25 @@ module Network.Socket
214214
, recvBuf
215215
, sendBufTo
216216
, recvBufFrom
217-
-- ** IO with ancillary data
217+
-- ** Advanced IO
218218
, sendBufMsg
219219
, recvBufMsg
220220
, MsgFlag(MSG_OOB,MSG_DONTROUTE,MSG_PEEK,MSG_EOR,MSG_TRUNC,MSG_CTRUNC,MSG_WAITALL)
221+
-- ** Control message (ancillary data)
221222
, Cmsg(..)
222-
-- ** Ancillary data
223-
, Ancillary(..)
224-
, AncillaryId
225-
, ancillaryEncode
226-
, ancillaryDecode
227-
, ancillaryIPv4TTL
228-
, ancillaryIPv6HopLimit
229-
, ancillaryIPv4TOS
230-
, ancillaryIPv6TClass
231-
, ancillaryIPv4PktInfo
232-
, ancillaryIPv6PktInfo
233-
, lookupAncillary
234-
-- ** Types
223+
, CmsgId(CmsgId
224+
,CmsgIdIPv4TTL
225+
,CmsgIdIPv6HopLimit
226+
,CmsgIdIPv4TOS
227+
,CmsgIdIPv6TClass
228+
,CmsgIdIPv4PktInfo
229+
,CmsgIdIPv6PktInfo)
230+
-- ** APIs for control message
231+
, lookupCmsg
232+
, decodeCmsg
233+
, encodeCmsg
234+
-- ** Class and yypes for control message
235+
, ControlMessage(..)
235236
, IPv4TTL(..)
236237
, IPv6HopLimit(..)
237238
, IPv4TOS(..)
@@ -252,7 +253,6 @@ import Network.Socket.Info
252253
import Network.Socket.Internal
253254
import Network.Socket.Name hiding (getPeerName, getSocketName)
254255
import Network.Socket.Options
255-
import Network.Socket.Posix.Ancillary
256256
import Network.Socket.Posix.Cmsg
257257
import Network.Socket.Shutdown
258258
import Network.Socket.SockAddr

Network/Socket/Address.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module Network.Socket.Address (
1616
-- * Sending and receiving data from a buffer
1717
, sendBufTo
1818
, recvBufFrom
19-
-- * IO with ancillary data
19+
-- * Advanced IO
2020
, sendBufMsg
2121
, recvBufMsg
2222
) where

Network/Socket/Buffer.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import Network.Socket.Imports
3131
import Network.Socket.Internal
3232
import Network.Socket.Name
3333
import Network.Socket.Types
34-
import Network.Socket.Posix.Cmsg
34+
import Network.Socket.Posix.CmsgHdr
3535
import Network.Socket.Posix.MsgHdr
3636
import Network.Socket.Posix.IOVec
3737
import Network.Socket.Flag

Network/Socket/Posix/Ancillary.hsc

Lines changed: 0 additions & 177 deletions
This file was deleted.

0 commit comments

Comments
 (0)