Searched refs:cnmsg (Results 1 – 2 of 2) sorted by relevance
87 static int netlink_send(int sd, struct sockaddr_nl *to, struct cn_msg *cnmsg) in netlink_send() argument98 nlhdr->nlmsg_len = NLMSG_LENGTH(sizeof(*cnmsg) + cnmsg->len); in netlink_send()100 memcpy(NLMSG_DATA(nlhdr), cnmsg, sizeof(*cnmsg) + cnmsg->len); in netlink_send()157 struct cn_msg *cnmsg; in control_pec() local162 cnmsg = (struct cn_msg *)buf; in control_pec()163 cnmsg->id.idx = CN_IDX_PROC; in control_pec()164 cnmsg->id.val = CN_VAL_PROC; in control_pec()165 cnmsg->seq = seq++; in control_pec()166 cnmsg->ack = 0; in control_pec()167 cnmsg->len = sizeof(op); in control_pec()[all …]
458 struct cnmsg /* generic connect message */ struct