Home | History | Annotate | Download | only in libipsec

Lines Matching full:printf

88 		printf("%u ", (num)); \
90 printf("%u ", (num)); \
92 printf("%s ", (str)[(num)]); \
103 printf("%s ", p->str); \
105 printf("%u ", (num)); \
264 printf("%s\n", ipsec_strerror());
268 printf("%s\n", ipsec_strerror());
303 printf("no ADDRESS_SRC extension.\n");
308 printf("%s[%s]", str_ipaddr(sa), str_ipport(sa));
310 printf("%s", str_ipaddr(sa));
313 printf("[%u]", ntohs(natt_sport->sadb_x_nat_t_port_port));
315 printf(" ");
319 printf(" no ADDRESS_DST extension.\n");
324 printf("%s[%s]", str_ipaddr(sa), str_ipport(sa));
326 printf("%s", str_ipaddr(sa));
329 printf("[%u]", ntohs(natt_dport->sadb_x_nat_t_port_port));
331 printf(" ");
335 printf("no SA extension.\n");
339 printf("no SA2 extension.\n");
342 printf("\n\t");
346 printf("esp-udp ");
348 printf("natt+");
354 printf("mode=");
357 printf("spi=%u(0x%08x) reqid=%u(0x%08x)\n",
366 printf("\tNAT OA=%s\n",
372 printf("\tC: ");
376 printf("\tE: ");
380 printf("\n");
386 printf("\tA: ");
390 printf("\n");
394 printf("\tseq=0x%08x replay=%u flags=0x%08x ",
400 printf("state=");
402 printf("\n");
408 printf("\tcreated: %s",
410 printf("\tcurrent: %s\n", str_time(tmp_time));
411 printf("\tdiff: %lu(s)",
415 printf("\thard: %lu(s)",
418 printf("\tsoft: %lu(s)\n",
422 printf("\tlast: %s",
424 printf("\thard: %lu(s)",
427 printf("\tsoft: %lu(s)\n",
434 printf("\n");
436 printf("\tallocated: %lu",
438 printf("\thard: %lu",
441 printf("\tsoft: %lu\n",
448 printf("\tsecurity context doi: %u\n",
450 printf("\tsecurity context algorithm: %u\n",
452 printf("\tsecurity context length: %u\n",
454 printf("\tsecurity context: %s\n",
459 printf("\tsadb_seq=%lu pid=%lu ",
464 printf("refcnt=%u\n", m->sadb_msg_reserved);
504 printf("%s\n", ipsec_strerror());
508 printf("%s\n", ipsec_strerror());
530 printf("(per-socket policy) ");
544 printf("%s%s ", str_ipaddr(sa),
551 printf("unknown-af ");
565 printf("%s%s ", str_ipaddr(sa),
572 printf("unknown-af ");
579 printf("upper layer protocol mismatched.\n");
587 printf("tagged \"%s\" ", m_tag->sadb_x_tag_name);
590 printf("(no selector, probably per-socket policy) ");
597 printf("no X_POLICY extension.\n");
606 printf("\n\tPolicy:[%s]\n", ipsec_strerror());
609 printf("\n\t%s\n", d_xpl);
616 printf("\tcreated: %s ",
618 printf("lastused: %s\n",
622 printf("\tlifetime: %lu(s) ",
624 printf("validtime: %lu(s)\n",
630 printf("\tsecurity context doi: %u\n",
632 printf("\tsecurity context algorithm: %u\n",
634 printf("\tsecurity context length: %u\n",
636 printf("\tsecurity context: %s\n",
641 printf("\tspid=%ld seq=%ld pid=%ld\n",
647 printf("\trefcnt=%u\n", m->sadb_msg_reserved);
747 printf("%s", ent->p_name);
749 printf("%u", ulp);
758 printf(" %u,%u", p1, p2);
761 printf(" %u", (p1 << 16) + p2);
801 printf("\t%s: 0(bytes)", str);
824 printf("\t%s: %.*f(%sbytes)", str, w, y, unit);