Searched refs:scmsg (Results 1 – 1 of 1) sorted by relevance
248 struct cmsghdr *scmsg = NULL; in main() local680 if ((scmsg = malloc( CMSG_SPACE(sizeof(int)))) == NULL) in main()682 smsghdr.msg_control = (caddr_t)scmsg; in main()685 scmsg->cmsg_len = CMSG_LEN(sizeof(int)); in main()686 scmsg->cmsg_level = IPPROTO_IPV6; in main()687 scmsg->cmsg_type = IPV6_HOPLIMIT; in main()688 *(int *)(CMSG_DATA(scmsg)) = hoplimit; in main()