خرید بک لینک

The flags field indicates what UDP checksum policy that should be used for a UDP session. This can be either to switch UDP checksumming off completely, or to use UDP Lite in which the checksum covers only parts of the datagram...

// main.c

static void vSetupIFTask (void *pvParameters) {

...

while (1) {

physts = lpcPHYStsPoll();

if (physts & PHY_LINK_CHANGED) {

if (physts & PHY_LINK_CONNECTED) {

tcpip_callback_with_block((tcpip_callback_fn) netif_set_link_up, (void *) &lpc_netif, 1);

}

else {

tcpip_callback_with_block((tcpip_callback_fn) netif_set_link_down, (void *) &lpc_netif, 1);

}

vTaskDelay(configTICK_RATE_HZ / 4);

}

}

}

ادامه مطلب

برچسب: نویسنده: هستی رستمیان تاريخ: يکشنبه 17 بهمن 1395 ساعت: 15:08

صفحه بندی