Home
last modified time | relevance | path

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

/linux/net/ipv6/
A 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/net/ipv4/
A 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/net/sctp/
A Dsm_statefuns.c1329 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->variable; 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()

Completed in 21 milliseconds