Home | History | Annotate | Download | only in genl

Lines Matching refs:fprintf

31 	fprintf(stderr,"Usage: ctrl <CMD>\n" \
64 fprintf(stderr, "Cannot open generic netlink socket\n");
71 fprintf(stderr, "Error talking to the kernel\n");
82 fprintf(stderr, "Not a controller message, nlmsg_len=%d "
88 fprintf(stderr, "Unknown controller command %d\n", ghdr->cmd);
95 fprintf(stderr, "wrong controller message len %d\n", len);
103 fprintf(stderr, "Missing family id TLV\n");
117 fprintf(fp, "\n\t\tCapabilities (0x%x):\n ", fl);
119 fprintf(fp, "\n");
122 fprintf(fp, "\t\t ");
125 fprintf(fp, " requires admin permission;");
127 fprintf(fp, " can doit;");
129 fprintf(fp, " can dumpit;");
131 fprintf(fp, " has policy");
133 fprintf(fp, "\n");
146 fprintf(fp, " ID-0x%x ",*id);
167 fprintf(fp, " ID-0x%x ",*id);
171 fprintf(fp, " name: %s ", name);
191 fprintf(stderr, "Not a controller message, nlmsg_len=%d "
201 fprintf(stderr, "Unknown controller command %d\n", ghdr->cmd);
208 fprintf(stderr, "wrong controller message len %d\n", len);
217 fprintf(fp, "\nName: %s\n",name);
221 fprintf(fp, "\tID: 0x%x ",*id);
225 fprintf(fp, " Version: 0x%x ",*v);
230 fprintf(fp, " header size: %d ",*h);
234 fprintf(fp, " max attribs: %d ",*ma);
237 fprintf(fp,"\n");
242 fprintf(fp, "\tcommands supported: \n");
245 fprintf(fp, "\t\t#%d: ", i);
247 fprintf(fp, "Error printing command\n");
250 fprintf(fp,"\n");
255 fprintf(fp,"\n");
264 fprintf(fp, "\tmulticast groups:\n");
268 fprintf(fp, "\t\t#%d: ", i);
270 fprintf(fp, "Error printing group\n");
272 fprintf(fp,"\n");
277 fprintf(fp,"\n");
307 fprintf(stderr, "Cannot open generic netlink socket\n");
313 fprintf(stderr, "Wrong number of params\n");
326 fprintf(stderr, "Illegal \"id\"\n");
333 fprintf(stderr, "Wrong params\n");
338 fprintf(stderr, "Error talking to the kernel\n");
343 fprintf(stderr, "Dump terminated\n");
373 fprintf(stderr, "Canot open generic netlink socket\n");
387 fprintf(stderr, "wrong controller params\n");
402 fprintf(stderr, "ctrl command \"%s\" is unknown, try \"ctrl -help\".\n",