Lines Matching refs:report_skb
109 struct sk_buff *report_skb; in wimax_gnl_re_state_change_alloc() local
114 report_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in wimax_gnl_re_state_change_alloc()
115 if (report_skb == NULL) { in wimax_gnl_re_state_change_alloc()
120 data = genlmsg_put(report_skb, 0, wimax_gnl_family.mcgrp_offset, in wimax_gnl_re_state_change_alloc()
128 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
133 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_NEW, new_state); in wimax_gnl_re_state_change_alloc()
138 result = nla_put_u32(report_skb, WIMAX_GNL_STCH_IFIDX, in wimax_gnl_re_state_change_alloc()
145 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
146 return report_skb; in wimax_gnl_re_state_change_alloc()
149 nlmsg_free(report_skb); in wimax_gnl_re_state_change_alloc()
169 struct wimax_dev *wimax_dev, struct sk_buff *report_skb, in wimax_gnl_re_state_change_send() argument
175 wimax_dev, report_skb); in wimax_gnl_re_state_change_send()
176 if (report_skb == NULL) { in wimax_gnl_re_state_change_send()
180 genlmsg_end(report_skb, header); in wimax_gnl_re_state_change_send()
181 genlmsg_multicast(&wimax_gnl_family, report_skb, 0, 0, GFP_KERNEL); in wimax_gnl_re_state_change_send()
184 wimax_dev, report_skb, result); in wimax_gnl_re_state_change_send()