Searched refs:errhdr (Results 1 – 3 of 3) sorted by relevance
/net/ipv6/ |
D | datagram.c | 441 } errhdr; in ipv6_recv_error() local 486 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ipv6_recv_error() 487 sin = &errhdr.offender; in ipv6_recv_error() 509 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error()
|
/net/ipv4/ |
D | ip_sockglue.c | 508 } errhdr; in ip_recv_error() local 540 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ip_recv_error() 541 sin = &errhdr.offender; in ip_recv_error() 551 put_cmsg(msg, SOL_IP, IP_RECVERR, sizeof(errhdr), &errhdr); in ip_recv_error()
|
/net/sctp/ |
D | sm_statefuns.c | 1260 struct sctp_errhdr *errhdr; in sctp_sf_send_restart_abort() local 1261 char buffer[sizeof(*errhdr) + sizeof(*addrparm)]; in sctp_sf_send_restart_abort() 1269 errhdr = (struct sctp_errhdr *)buffer; in sctp_sf_send_restart_abort() 1270 addrparm = (union sctp_addr_param *)errhdr->variable; in sctp_sf_send_restart_abort() 1274 len += sizeof(*errhdr); in sctp_sf_send_restart_abort() 1276 errhdr->cause = SCTP_ERROR_RESTART; in sctp_sf_send_restart_abort() 1277 errhdr->length = htons(len); in sctp_sf_send_restart_abort() 1285 pkt = sctp_abort_pkt_new(net, ep, NULL, init, errhdr, len); in sctp_sf_send_restart_abort()
|