Home
last modified time | relevance | path

Searched refs:mss (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_socket.c83 static inline void SetupCmsg(struct cmsghdr *cm, uint16_t mss) in SetupCmsg() argument
87 cm->cmsg_len = CMSG_LEN(sizeof(mss)); in SetupCmsg()
88 *(uint16_t *)(void *)CMSG_DATA(cm) = mss; in SetupCmsg()
96 int32_t SocketSendEx(const Socket *s, uint16_t mss, const struct iovec *iov, uint32_t cnt) in SocketSendEx() argument
115 SetupCmsg(CMSG_FIRSTHDR(&mh), mss); in SocketSendEx() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_socket.c66 static inline void SetupCmsg(struct cmsghdr *cm, uint16_t mss) in SetupCmsg() argument
70 cm->cmsg_len = CMSG_LEN(sizeof(mss)); in SetupCmsg()
71 *(uint16_t *)(void *)CMSG_DATA(cm) = mss; in SetupCmsg()
79 int32_t SocketSendEx(const Socket *s, uint16_t mss, const struct iovec *iov, uint32_t cnt) in SocketSendEx() argument
98 SetupCmsg(CMSG_FIRSTHDR(&mh), mss); in SocketSendEx() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_socket.h47 int32_t SocketSendEx(const Socket *socket, uint16_t mss, const struct iovec *iov, uint32_t cnt);

Completed in 1 milliseconds