Lines Matching refs:rep

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