Home
last modified time | relevance | path

Searched refs:cnmsg (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c87 static int netlink_send(int sd, struct sockaddr_nl *to, struct cn_msg *cnmsg) in netlink_send() argument
98 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() local
162 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 …]
/external/tcpdump/
Dprint-decnet.c458 struct cnmsg /* generic connect message */ struct