Lines Matching refs:hdrlen
1066 int hdrlen = sizeof(struct inet_diag_req_v2); in inet_diag_dump() local
1069 if (nlmsg_attrlen(cb->nlh, hdrlen)) in inet_diag_dump()
1070 bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); in inet_diag_dump()
1091 int hdrlen = sizeof(struct inet_diag_req); in inet_diag_dump_compat() local
1101 if (nlmsg_attrlen(cb->nlh, hdrlen)) in inet_diag_dump_compat()
1102 bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); in inet_diag_dump_compat()
1124 int hdrlen = sizeof(struct inet_diag_req); in inet_diag_rcv_msg_compat() local
1128 nlmsg_len(nlh) < hdrlen) in inet_diag_rcv_msg_compat()
1132 if (nlmsg_attrlen(nlh, hdrlen)) { in inet_diag_rcv_msg_compat()
1136 attr = nlmsg_find_attr(nlh, hdrlen, in inet_diag_rcv_msg_compat()
1155 int hdrlen = sizeof(struct inet_diag_req_v2); in inet_diag_handler_cmd() local
1158 if (nlmsg_len(h) < hdrlen) in inet_diag_handler_cmd()
1163 if (nlmsg_attrlen(h, hdrlen)) { in inet_diag_handler_cmd()
1167 attr = nlmsg_find_attr(h, hdrlen, in inet_diag_handler_cmd()