Lines Matching refs:rep

61 	struct sk_buff *rep;  member
239 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
261 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
262 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
286 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
287 if (!msg->rep) in tipc_nl_compat_dumpit()
291 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
296 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
297 msg->rep = NULL; in tipc_nl_compat_dumpit()
304 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
305 msg->rep = NULL; in tipc_nl_compat_dumpit()
312 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
313 msg->rep = NULL; in tipc_nl_compat_dumpit()
320 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
321 msg->rep = NULL; in tipc_nl_compat_dumpit()
398 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_doit()
399 if (!msg->rep) in tipc_nl_compat_doit()
419 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME, in tipc_nl_compat_bearer_dump()
505 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n", in __fill_bc_link_stat()
508 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
516 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
524 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n", in __fill_bc_link_stat()
529 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n", in __fill_bc_link_stat()
534 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
590 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n", in tipc_nl_compat_link_stat_dump()
599 tipc_tlv_sprintf(msg->rep, " ACTIVE"); in tipc_nl_compat_link_stat_dump()
601 tipc_tlv_sprintf(msg->rep, " STANDBY"); in tipc_nl_compat_link_stat_dump()
603 tipc_tlv_sprintf(msg->rep, " DEFUNCT"); in tipc_nl_compat_link_stat_dump()
605 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u", in tipc_nl_compat_link_stat_dump()
609 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n", in tipc_nl_compat_link_stat_dump()
613 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
622 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
631 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
637 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
648 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n", in tipc_nl_compat_link_stat_dump()
656 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
664 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
672 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
701 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO, in tipc_nl_compat_link_dump()
888 tipc_tlv_sprintf(msg->rep, header[i]); in tipc_nl_compat_name_table_dump_header()
889 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump_header()
939 tipc_tlv_sprintf(msg->rep, "%-10u ", in tipc_nl_compat_name_table_dump()
945 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ", in tipc_nl_compat_name_table_dump()
955 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
960 tipc_tlv_sprintf(msg->rep, "%-10u %s", in tipc_nl_compat_name_table_dump()
964 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump()
989 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower); in __tipc_nl_compat_publ_dump()
991 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper); in __tipc_nl_compat_publ_dump()
1055 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref); in tipc_nl_compat_sk_dump()
1069 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>", in tipc_nl_compat_sk_dump()
1076 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n", in tipc_nl_compat_sk_dump()
1080 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
1082 tipc_tlv_sprintf(msg->rep, " bound to"); in tipc_nl_compat_sk_dump()
1088 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
1107 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME, in tipc_nl_compat_media_dump()
1130 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info, in tipc_nl_compat_node_dump()
1176 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id)); in tipc_nl_compat_net_dump()
1181 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN); in tipc_cmd_show_stats_compat()
1182 if (!msg->rep) in tipc_cmd_show_stats_compat()
1185 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING); in tipc_cmd_show_stats_compat()
1186 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n"); in tipc_cmd_show_stats_compat()
1201 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_handle()
1202 if (!msg->rep) in tipc_nl_compat_handle()
1309 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN); in tipc_nl_compat_recv()
1316 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1323 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1325 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR); in tipc_nl_compat_recv()
1327 if (!msg.rep) in tipc_nl_compat_recv()
1331 skb_push(msg.rep, len); in tipc_nl_compat_recv()
1332 rep_nlh = nlmsg_hdr(msg.rep); in tipc_nl_compat_recv()
1334 rep_nlh->nlmsg_len = msg.rep->len; in tipc_nl_compat_recv()
1335 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()