Searched refs:errhdr (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | datagram.c | 464 } errhdr; in ipv6_recv_error() local 509 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ipv6_recv_error() 510 sin = &errhdr.offender; in ipv6_recv_error() 532 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_sockglue.c | 533 } errhdr; in ip_recv_error() local 565 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ip_recv_error() 566 sin = &errhdr.offender; in ip_recv_error() 576 put_cmsg(msg, SOL_IP, IP_RECVERR, sizeof(errhdr), &errhdr); in ip_recv_error()
|
/openbmc/linux/net/sctp/ |
H A D | sm_statefuns.c | 1329 struct sctp_errhdr *errhdr; in sctp_sf_send_restart_abort() local 1330 char buffer[sizeof(*errhdr) + sizeof(*addrparm)]; in sctp_sf_send_restart_abort() 1338 errhdr = (struct sctp_errhdr *)buffer; in sctp_sf_send_restart_abort() 1339 addrparm = (union sctp_addr_param *)(errhdr + 1); in sctp_sf_send_restart_abort() 1343 len += sizeof(*errhdr); in sctp_sf_send_restart_abort() 1345 errhdr->cause = SCTP_ERROR_RESTART; in sctp_sf_send_restart_abort() 1346 errhdr->length = htons(len); in sctp_sf_send_restart_abort() 1354 pkt = sctp_abort_pkt_new(net, ep, NULL, init, errhdr, len); in sctp_sf_send_restart_abort()
|