ping6.c | 148 struct cmsghdr *srcrt; variable in typeref:struct:cmsghdr 819 if (srcrt == NULL) { 845 srcrt = (struct cmsghdr*)(cmsgbuf+cmsglen); 847 memset(srcrt, 0, CMSG_SPACE(0)); 848 srcrt->cmsg_len = CMSG_LEN(space); 849 srcrt->cmsg_level = IPPROTO_IPV6; 850 srcrt->cmsg_type = IPV6_RTHDR; 851 inet6_rth_init(CMSG_DATA(srcrt), space, IPV6_RTHDR_TYPE_0, argc - 1); 855 inet6_srcrt_init(srcrt, IPV6_SRCRT_TYPE_0); 873 inet6_rth_add(CMSG_DATA(srcrt), addr) [all...] |