Home
last modified time | relevance | path

Searched refs:errhdr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/ipv6/
Ddatagram.c457 } errhdr; in ipv6_recv_error() local
502 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ipv6_recv_error()
503 sin = &errhdr.offender; in ipv6_recv_error()
525 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error()
/Linux-v5.10/net/ipv4/
Dip_sockglue.c524 } errhdr; in ip_recv_error() local
556 memcpy(&errhdr.ee, &serr->ee, sizeof(struct sock_extended_err)); in ip_recv_error()
557 sin = &errhdr.offender; in ip_recv_error()
567 put_cmsg(msg, SOL_IP, IP_RECVERR, sizeof(errhdr), &errhdr); in ip_recv_error()
/Linux-v5.10/net/sctp/
Dsm_statefuns.c1270 struct sctp_errhdr *errhdr; in sctp_sf_send_restart_abort() local
1271 char buffer[sizeof(*errhdr) + sizeof(*addrparm)]; in sctp_sf_send_restart_abort()
1279 errhdr = (struct sctp_errhdr *)buffer; in sctp_sf_send_restart_abort()
1280 addrparm = (union sctp_addr_param *)errhdr->variable; in sctp_sf_send_restart_abort()
1284 len += sizeof(*errhdr); in sctp_sf_send_restart_abort()
1286 errhdr->cause = SCTP_ERROR_RESTART; in sctp_sf_send_restart_abort()
1287 errhdr->length = htons(len); in sctp_sf_send_restart_abort()
1295 pkt = sctp_abort_pkt_new(net, ep, NULL, init, errhdr, len); in sctp_sf_send_restart_abort()