__u16 flags, unsigned int __nocast gfp) 
__u16 flags, gfp_t gfp) 
struct sctp_ulpevent *sctp_ulpevent_make_shutdown_event(	const struct sctp_association *asoc,	__u16 flags, unsigned int __nocast gfp){	struct sctp_ulpevent *event;	struct sctp_shutdown_event *sse;	struct sk_buff *skb;	event = sctp_ulpevent_new(sizeof(struct sctp_shutdown_event),				  MSG_NOTIFICATION, gfp);	if (!event)		goto fail;	skb = sctp_event2skb(event);	sse = (struct sctp_shutdown_event *)		skb_put(skb, sizeof(struct sctp_shutdown_event));	/* Socket Extensions for SCTP	 * 5.3.1.5 SCTP_SHUTDOWN_EVENT	 *	 * sse_type	 * It should be SCTP_SHUTDOWN_EVENT	 */	sse->sse_type = SCTP_SHUTDOWN_EVENT;	/* Socket Extensions for SCTP	 * 5.3.1.5 SCTP_SHUTDOWN_EVENT	 *	 * sse_flags: 16 bits (unsigned integer)	 * Currently unused.	 */	sse->sse_flags = 0;	/* Socket Extensions for SCTP	 * 5.3.1.5 SCTP_SHUTDOWN_EVENT	 *	 * sse_length: sizeof (__u32)	 * This field is the total length of the notification data, including	 * the notification header.	 */	sse->sse_length = sizeof(struct sctp_shutdown_event);	/* Socket Extensions for SCTP	 * 5.3.1.5 SCTP_SHUTDOWN_EVENT	 *	 * sse_assoc_id: sizeof (sctp_assoc_t)	 * The association id field, holds the identifier for the association.	 * All notifications for a given association have the same association	 * identifier.  For TCP style socket, this field is ignored.	 */	sctp_ulpevent_set_owner(event, asoc);	sse->sse_assoc_id = sctp_assoc2id(asoc);	return event;fail:	return NULL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7/ulpevent.c/buggy/net/sctp/ulpevent.c