• Home
  • Raw
  • Download

Lines Matching refs:ofd

34 static void print_header_content(FILE *ofd, struct nlmsghdr *n)  in print_header_content()  argument
39 fprintf(ofd, "type=%s length=%u flags=<%s> sequence-nr=%u pid=%u", in print_header_content()
47 FILE *ofd = arg ? arg : stdout; in nl_valid_handler_verbose() local
49 fprintf(ofd, "-- Warning: unhandled valid message: "); in nl_valid_handler_verbose()
50 print_header_content(ofd, nlmsg_hdr(msg)); in nl_valid_handler_verbose()
51 fprintf(ofd, "\n"); in nl_valid_handler_verbose()
58 FILE *ofd = arg ? arg : stderr; in nl_invalid_handler_verbose() local
60 fprintf(ofd, "-- Error: Invalid message: "); in nl_invalid_handler_verbose()
61 print_header_content(ofd, nlmsg_hdr(msg)); in nl_invalid_handler_verbose()
62 fprintf(ofd, "\n"); in nl_invalid_handler_verbose()
69 FILE *ofd = arg ? arg : stderr; in nl_overrun_handler_verbose() local
71 fprintf(ofd, "-- Error: Netlink Overrun: "); in nl_overrun_handler_verbose()
72 print_header_content(ofd, nlmsg_hdr(msg)); in nl_overrun_handler_verbose()
73 fprintf(ofd, "\n"); in nl_overrun_handler_verbose()
81 FILE *ofd = arg ? arg : stderr; in nl_error_handler_verbose() local
84 fprintf(ofd, "-- Error received: %s\n-- Original message: ", in nl_error_handler_verbose()
86 print_header_content(ofd, &e->msg); in nl_error_handler_verbose()
87 fprintf(ofd, "\n"); in nl_error_handler_verbose()
94 FILE *ofd = arg ? arg : stderr; in nl_valid_handler_debug() local
96 fprintf(ofd, "-- Debug: Unhandled Valid message: "); in nl_valid_handler_debug()
97 print_header_content(ofd, nlmsg_hdr(msg)); in nl_valid_handler_debug()
98 fprintf(ofd, "\n"); in nl_valid_handler_debug()
105 FILE *ofd = arg ? arg : stderr; in nl_finish_handler_debug() local
107 fprintf(ofd, "-- Debug: End of multipart message block: "); in nl_finish_handler_debug()
108 print_header_content(ofd, nlmsg_hdr(msg)); in nl_finish_handler_debug()
109 fprintf(ofd, "\n"); in nl_finish_handler_debug()
116 FILE *ofd = arg ? arg : stderr; in nl_msg_in_handler_debug() local
118 fprintf(ofd, "-- Debug: Received Message:\n"); in nl_msg_in_handler_debug()
119 nl_msg_dump(msg, ofd); in nl_msg_in_handler_debug()
126 FILE *ofd = arg ? arg : stderr; in nl_msg_out_handler_debug() local
128 fprintf(ofd, "-- Debug: Sent Message:\n"); in nl_msg_out_handler_debug()
129 nl_msg_dump(msg, ofd); in nl_msg_out_handler_debug()
136 FILE *ofd = arg ? arg : stderr; in nl_skipped_handler_debug() local
138 fprintf(ofd, "-- Debug: Skipped message: "); in nl_skipped_handler_debug()
139 print_header_content(ofd, nlmsg_hdr(msg)); in nl_skipped_handler_debug()
140 fprintf(ofd, "\n"); in nl_skipped_handler_debug()
147 FILE *ofd = arg ? arg : stderr; in nl_ack_handler_debug() local
149 fprintf(ofd, "-- Debug: ACK: "); in nl_ack_handler_debug()
150 print_header_content(ofd, nlmsg_hdr(msg)); in nl_ack_handler_debug()
151 fprintf(ofd, "\n"); in nl_ack_handler_debug()