Lines Matching refs:hdrlen
1008 int hdrlen = sizeof(struct inet_diag_req_v2); in inet_diag_dump() local
1011 if (nlmsg_attrlen(cb->nlh, hdrlen)) in inet_diag_dump()
1012 bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); in inet_diag_dump()
1033 int hdrlen = sizeof(struct inet_diag_req); in inet_diag_dump_compat() local
1043 if (nlmsg_attrlen(cb->nlh, hdrlen)) in inet_diag_dump_compat()
1044 bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); in inet_diag_dump_compat()
1066 int hdrlen = sizeof(struct inet_diag_req); in inet_diag_rcv_msg_compat() local
1070 nlmsg_len(nlh) < hdrlen) in inet_diag_rcv_msg_compat()
1074 if (nlmsg_attrlen(nlh, hdrlen)) { in inet_diag_rcv_msg_compat()
1078 attr = nlmsg_find_attr(nlh, hdrlen, in inet_diag_rcv_msg_compat()
1097 int hdrlen = sizeof(struct inet_diag_req_v2); in inet_diag_handler_cmd() local
1100 if (nlmsg_len(h) < hdrlen) in inet_diag_handler_cmd()
1105 if (nlmsg_attrlen(h, hdrlen)) { in inet_diag_handler_cmd()
1109 attr = nlmsg_find_attr(h, hdrlen, in inet_diag_handler_cmd()