Searched refs:retmsg (Results 1 – 3 of 3) sorted by relevance
55 struct nlmsghdr *retmsg; in read_iface_prefix() local67 retmsg = (struct nlmsghdr *)buf; in read_iface_prefix()69 while NLMSG_OK(retmsg, len) { in read_iface_prefix()76 retaddr = (struct ifaddrmsg *)NLMSG_DATA(retmsg); in read_iface_prefix()78 attlen = IFA_PAYLOAD(retmsg); in read_iface_prefix()95 retmsg = NLMSG_NEXT(retmsg, len); in read_iface_prefix()
69 static int super_system(const char *cmd, char *retmsg, int msg_len) in super_system() argument73 if (cmd == NULL || retmsg == NULL || msg_len < 0) { in super_system()83 memset(retmsg, 0, msg_len); in super_system()84 while (fgets(retmsg, msg_len, fp)) { in super_system()92 retmsg[strlen(retmsg) - 1] = '\0'; in super_system()
166 retmsg=$msg177 retmsg=$msg206 if [[ ! -z "$retmsg" ]]; then207 printf "\t%s\n" "$retmsg"