Lines Matching defs:connection
215 enum plip_connection_state connection;
375 f = connection_state_table[nl->connection];
416 if (nl->connection == PLIP_CN_SEND) {
433 } else if (nl->connection == PLIP_CN_RECEIVE) {
468 nl->connection = PLIP_CN_ERROR;
613 nl->connection = PLIP_CN_SEND;
686 /* Close the connection. */
690 nl->connection = PLIP_CN_SEND;
697 nl->connection = PLIP_CN_NONE;
782 if (nl->connection == PLIP_CN_RECEIVE) {
793 if (nl->connection == PLIP_CN_RECEIVE) {
860 /* Close the connection */
865 nl->connection = PLIP_CN_CLOSING;
880 if (nl->connection == PLIP_CN_CLOSING) {
881 nl->connection = PLIP_CN_NONE;
903 nl->connection = PLIP_CN_NONE;
943 switch (nl->connection) {
950 nl->connection = PLIP_CN_RECEIVE;
1000 if (nl->connection == PLIP_CN_NONE) {
1001 nl->connection = PLIP_CN_SEND;
1094 nl->connection = PLIP_CN_NONE;
1148 nl->connection = PLIP_CN_NONE;
1179 if (nl->connection != PLIP_CN_NONE) {