You can use any standard swap function and pass the *(node->data) and *(node->next->data) something like -
void SwapDataWithNext(struct Node *node)
{
/* Swap data of node with its next node's data */
swap(&node->data, &node->next->data);
}
void swap(int *a, int *b)
{
int temp;
temp = *a;
*a = *b;
*b = temp;
}